Spdk/lib/bdev
Daniel Verkamp 8887697f8c bdev/lvol: add UUID to lvols
In addition to the lvolstore uuid, add a per-lvol uuid for bdev
identification.

The lvol uuid is stored as an xattr for each lvol blob; if an lvol blob
without a uuid xattr is encountered, the lvol bdev will not report a
uuid for now (it will be set to all zeroes, which will be treated as
no uuid available by the generic bdev layer).

Change-Id: If00221383a12d62234fc085d56e257dd48053103
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/402973
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-03-08 10:49:51 -05:00
..
aio scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
error bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
gpt bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
lvol bdev/lvol: add UUID to lvols 2018-03-08 10:49:51 -05:00
malloc bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
null bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
nvme scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
pmem bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
rbd bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
rpc bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
split bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
virtio bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
bdev.c bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
Makefile bdev: move part helper code into its own file 2018-02-27 12:36:26 -05:00
part.c bdev: move part helper code into its own file 2018-02-27 12:36:26 -05:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00