Whamcloud - gitweb
LU-8585 llite: add special fid handling for fhandle API 07/51707/11
authorJames Simmons <jsimmons@infradead.org>
Thu, 10 Aug 2023 01:59:28 +0000 (21:59 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Sep 2023 04:01:28 +0000 (04:01 +0000)
commit52a97b44904951f24efb602883cfc280d825aba0
tree2c92c8004bb50261459ec92d95cbe9073d0c2763
parentf89529a06ed2cf6e3a02df6093e047d4d7da15ea
LU-8585 llite: add special fid handling for fhandle API

Lustre has been moving its FIDs handling to the fhandle API. This
works well for normal files but Lustre has special FIDs that don't
map to normal files which are used by user land applications. Add
special handling to ll_iget_for_nfs() so the fhandle API can work
with these special FIDs. These FIDs should also work with filesets.

Change-Id: I4b55d96cc9eea0b1fb898f94c071c8b30c7b2bd5
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51707
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/fid/fid_lib.c
lustre/include/lustre_fid.h
lustre/include/uapi/linux/lustre/lustre_fid.h
lustre/llite/llite_nfs.c
lustre/tests/llapi_fid_test.c