Whamcloud - gitweb
LU-17848 osd: deduplicate osd_fid_init()/fini()/alloc() 10/55110/6
authorTimothy Day <timday@amazon.com>
Tue, 14 May 2024 20:59:16 +0000 (20:59 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 04:52:28 +0000 (04:52 +0000)
commit9c52f31808de0299854b2a7dd2f863ee660f8bb7
treeb4ff5f7cf60ec79856e481cb072562ea8489247b
parent0c46ba62efb35b31bb826e5898ffa6e52768e7fa
LU-17848 osd: deduplicate osd_fid_init()/fini()/alloc()

These functions are identical in the two OSD implementations. This
can be moved to lustre/fid/ and made generic.

These functions are forced to live in fid.ko rather than obdclass.ko
due to module dependency issues.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: If97ca5615d9bdfe0fe9886686e9ce3ec2b740f7d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55110
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/fid/fid_lib.c
lustre/include/dt_object.h
lustre/include/lustre_fid.h
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h