Spdk/test/unit/lib/bdev
Changpeng Liu 458214e2e7 nvme/opal: remove the revert asynchronous API
The revert asynchronous API doesn't run as the *real* asynchronous
way, because the drive can only support synchronous module and only
1 session is supported.  The reason why we added this API is that
RPC call has the default timeout value here, while the revert may
take over several minutes, the API itself doesn't short the revert
action, so just remove it and use the synchronous API instead.

The revert action will erase all the users data and bring the drive
back to the factory state, it should run in the synchronous mode,
so just remove the asynchronous API and we can increase the timeout
value when using RPC to call this API.

Change-Id: I08a082edea6385e378399423bbb229d05f8bc262
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1232
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-03-25 07:52:28 +00:00
..
bdev_ocssd.c nvme/opal: remove the revert asynchronous API 2020-03-25 07:52:28 +00:00
bdev_zone.c bdev: rename spdk_bdev_get_io to bdev_channel_get_io 2019-11-20 09:34:18 +00:00
bdev.c bdev: Lock LBA range for fused command execution 2020-01-27 17:39:52 +00:00
compress.c ut/compress: remove rte_eal_get_configuration stub 2019-12-17 09:29:39 +00:00
crypto.c module/crypto: remove need to allocate a buffer for writes 2020-01-23 02:36:51 +00:00
gpt test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
mt bdev: inherit locked ranges for new channels 2020-01-14 07:50:26 +00:00
part.c trace: remove short_name 2019-05-02 08:41:56 +00:00
pmem bdev: Not assert but pass completion status to spdk_bdev_io_get_buf_cb 2019-02-27 01:59:11 +00:00
raid module/raid: raid5 module 2020-03-04 10:03:45 +00:00
scsi_nvme.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vbdev_lvol.c bdev/vbdev_lvol: Fix scanbuild error about Null poniter parameter. 2019-07-23 00:17:25 +00:00
vbdev_zone_block.c bdev/zone: Zone append handling added to vbdev 2020-01-21 08:43:31 +00:00
Makefile ut/raid: put bdev_raid.c into 'raid' subdirectory 2020-02-20 14:40:19 +00:00