Whamcloud - gitweb
LU-17848 dt: allow dio_lookup/insert/delete to be optional 33/55633/2
authorTimothy Day <timday@amazon.com>
Thu, 4 Jul 2024 18:32:06 +0000 (18:32 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Jul 2024 20:56:32 +0000 (20:56 +0000)
commit7b02081da056695e6cccb9eac6d5b03f87686ee2
treeefa322cc49ece9d4740abdddfa9e062fd1c83eba
parent29567f45f322d151c07c68d91a2f282d28b9a0d0
LU-17848 dt: allow dio_lookup/insert/delete to be optional

Not every user of the dio API require these operations. Return
EOPNOTSUPP rather than LASSERT() if they are not implemented.

Clean up some stub functions in osp and lfsck.

Test-Parameters: trivial
Test-Parameters: trivial fstype=zfs
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I2df23b87cfca5844f8c5ca843251c463909fcd47
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55633
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/dt_object.h
lustre/lfsck/lfsck_layout.c
lustre/osp/osp_object.c