Spdk/lib/bdev/raid
wuzhouhui 5349f4b2d4 bdev/raid: do not set configuring raid bdev to offline
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>
2018-10-15 21:49:46 +00:00
..
bdev_raid_rpc.c bdev/raid: Remove duplicated error check in construct RPC 2018-09-26 15:39:37 +00:00
bdev_raid.c bdev/raid: do not set configuring raid bdev to offline 2018-10-15 21:49:46 +00:00
bdev_raid.h bdev/raid: do not set configuring raid bdev to offline 2018-10-15 21:49:46 +00:00
Makefile bdev: add raid bdev module 2018-07-16 20:50:40 +00:00