Spdk/module/bdev/raid
Artur Paszkiewicz 46ff15a658 module/raid: convert state enum to/from string
Use the string value instead of int in raid_bdev json info.

Rename raid_bdev_parse_raid_level() to match raid_bdev_str_to_state().

Change-Id: I135269fe6de0746e661828cb1d36514b082011bd
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15308
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
2022-11-28 09:45:45 +00:00
..
bdev_raid_rpc.c module/raid: convert state enum to/from string 2022-11-28 09:45:45 +00:00
bdev_raid.c module/raid: convert state enum to/from string 2022-11-28 09:45:45 +00:00
bdev_raid.h module/raid: convert state enum to/from string 2022-11-28 09:45:45 +00:00
concat.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
raid0.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
raid5f.c update Intel copyright notices 2022-11-10 08:28:53 +00:00