Whamcloud - gitweb
LU-16605 lfs: Add -n option to fid2path 26/51626/12
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 11 Jul 2023 05:55:36 +0000 (11:25 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:33:07 +0000 (06:33 +0000)
commita1bc7a84ce5b3b649fd590a80645f299205024c2
treee7d7ecac5ac51bf76b8d90e1f18758deb5ec0b55
parent74140e5df4c094f7f0e923e1b82c464b18e8a7cc
LU-16605 lfs: Add -n option to fid2path

Add '-n' option to fid2path to allow printing
only the filename of the file instead of the
whole parent pathname.

Test-case sanity/226d added.

Test-Parameters: trivial testlist=sanity
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ieebd39a1655b4e3ad20cdbb4941dbb44882845f4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51626
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-fid2path.1
lustre/tests/sanity.sh
lustre/utils/lfs.c