[LU-16768] 'lfs find --printf' sometimes does not get correct result as 'lfs find' Created: 25/Apr/23  Updated: 11/May/23  Resolved: 09/May/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Major
Reporter: Zhenyu Xu Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

some reports shows that

$ lfs find /path/to/lustre/dir -type f 
 /path/to/lustre/dir/file

$ lfs find  /path/to/lustre/dir -type f --printf "%p\n"

$  # no output from lfs find --printf


 Comments   
Comment by Gerrit Updater [ 25/Apr/23 ]

"Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50733
Subject: LU-16768 lfs: copy optarg string other than using it directly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4547053ba9607f8e15a8edfde5888388e679c7f0

Comment by Gerrit Updater [ 09/May/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50733/
Subject: LU-16768 lfs: copy optarg string other than using it directly
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 75db98cef3df8f9a0e1b6e7a5150f3c332e6167b

Comment by Peter Jones [ 09/May/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:29:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.