Previously, the difference between configuring and offline is unclear, this patch just fixes it. The key difference should be whether the raid bdev have ever registered. Offline is registered before but unregistered now, and configuring has never registered. According to the above, we should never set configuring raid bdev to offline because it never got registered. Change-Id: Id44ef6654e032993ffb8444e7e7ae3e43a9b0f16 Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-on: https://review.gerrithub.io/428321 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_raid_rpc.c | ||
bdev_raid.c | ||
bdev_raid.h | ||
Makefile |