Whamcloud - gitweb
LU-14179 lfs: avoid lfs find error with long paths 37/41337/8
authorStephane Thiell <sthiell@stanford.edu>
Fri, 26 Feb 2021 20:33:04 +0000 (12:33 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 22 Mar 2021 16:25:58 +0000 (16:25 +0000)
commita6a76df19db61a2015f4cc78f88060f249c955f2
treee659891c3ec6d9a9bb217fe8ca949bf5e1d4f57d
parentd525ad4bd0d5d851405e4249859a1c77378f0ee3
LU-14179 lfs: avoid lfs find error with long paths

Test that files created in a directory having an absolute path length
of up to PATH_MAX-1 are properly found with lfs find. This change
might not cover other very deep directory tree (above PATH_MAX).

Signed-off-by: Stephane Thiell <sthiell@stanford.edu>
Change-Id: I44726efd5053c593094587e5c8a4652a3a876641
Reviewed-on: https://review.whamcloud.com/41337
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c