Whamcloud - gitweb
LU-17848 dt: allow declare functions to be optional 32/55632/2
authorTimothy Day <timday@amazon.com>
Thu, 4 Jul 2024 17:59:19 +0000 (17:59 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Jul 2024 20:56:23 +0000 (20:56 +0000)
commit29567f45f322d151c07c68d91a2f282d28b9a0d0
tree08c4bf4c2b9f8b1d9e2f98ab4758716e1935bd5a
parentaa20d8b9218e6d5df4db9c6aafebc2ad4a8a4b1e
LU-17848 dt: allow declare functions to be optional

If an OSD (or other dt implementer) doesn't have anything to
declare, don't force it to implement a declare function for
an operation.

Clean up some examples of useless declare functions in osp
and lfsck.

Test-Parameters: trivial
Test-Parameters: trivial fstype=zfs
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I0d7e9f491ff2a8f6e4f3bf315a10437cd42c2351
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55632
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