458214e2e7
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> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |