fd75d35771
During system shutdown, we want each module to release its claim and close any open descriptors when one of its bdevs is unregistered. This prepares for a future patch which will unregister bdevs at shutdown in reverse order - i.e the RAID bdev will be unregistered before its member disks. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib4c2b9d25463e420dbc4ec5d3d7030e3d6e8d981 Reviewed-on: https://review.gerrithub.io/420927 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>