+25
−3
Loading
There is a scenario where we can try do unload or remove lvol store while lvol present on that lvol store is being closed or destroyed. Scenario: 1. send delete_bdev rpc command 2. command returns before lvol is actually closed/destroyed (does not wait for callback) 3. send destroy_lvol_store rpc command 4. lvs is destroyed before lvol is destroyed 5. lvol destroy callback is called on destroeyd lvol store Aboive scenario can be reproduced using: spdk/test/vhost/spdk_vhost.sh --integrity-lvol-scsi Signed-off-by:Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ie715279195bd4b1145cf05d4f5a8477b4fac87f7 Reviewed-on: https://review.gerrithub.io/383595 Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>