Tomasz Zawadzki 2fbe26160f blobstore: defer destroying bs_dev
This patch delays destruction of bs_dev till after md_target io_device
is unregistered. Otherwise bs_dev would no longer exist when destroying
attached channels.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I6e526e3f65f7f5bca0617888be06a5296422f8e0
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-on: https://review.gerrithub.io/371885
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-22 18:19:00 -04:00
..
2017-08-22 18:19:00 -04:00
2017-08-15 16:47:01 -04:00
2017-08-15 16:47:01 -04:00
2017-08-01 13:43:14 -04:00
2017-08-22 18:19:00 -04:00
2017-08-02 13:27:21 -04:00