Whamcloud - gitweb
LU-16655 scrub: change sf_uuid to guid_t 96/50496/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 31 Mar 2023 23:38:38 +0000 (17:38 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Apr 2023 03:40:05 +0000 (03:40 +0000)
commit20621c761b787cd7b08a9d0abc0fc362f0bb0122
tree481fafdf3fba3abc2eb07e94ed587b3f9b31c8ce
parent892d726f274c7cd4e505689ad69194ac68dc323b
LU-16655 scrub: change sf_uuid to guid_t

Change the type of sf_uuid from uuid_t to guid_t.  The sizes are
identical, but the benefit is that guid_t is usable in userspace
with the <linux/uuid.h> header, unlike uuid_t.

Change the accessors to use the corresponding guid_*() functions,
but no functional changes are needed.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I3048cfee20a5e4ea2c0c2203d22eb76c1437577b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50496
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/Makefile.am
libcfs/include/libcfs/linux/linux-uuid.h [deleted file]
lustre/autoconf/lustre-core.m4
lustre/include/lustre_scrub.h
lustre/llite/llite_lib.c
lustre/obdclass/obd_mount.c
lustre/obdclass/scrub.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_scrub.c