[LU-11380] IOC_MDC_GETFILEINFO returns garbage stripe info for files with long names but no striping Created: 14/Sep/18  Updated: 22/Jan/24  Resolved: 23/Jun/21

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: HSM

Issue Links:
Related
is related to LU-11379 HSM Copytool Performance Improvements Closed
is related to LU-14429 fid2path cache in liblustreapi Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
o:~# cd /mnt//lustre
o:lustre# mcreate ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
o:lustre# lfs getstripe ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff has no stripe info
o:lustre# lfs find --stripe-count +30 .
./ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
o:lustre# lfs find --stripe-count +10000 .
./ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

In ll_dir_ioctl() we should at least zero out lmm_magic when the file has not stripe info.



 Comments   
Comment by Gerrit Updater [ 14/Sep/18 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33172
Subject: LU-11380 llite: zero lum for stripeless files
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f41237b725de0dc9119190fb81f4e0cdc1235a47

Comment by Gerrit Updater [ 18/Sep/18 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33198
Subject: LU-11380 mdc: move empty xattr handling to mdc layer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ab4b4b7fdc9e00d01c560f85f3e31138f8cdb0ca

Comment by Gerrit Updater [ 20/Sep/18 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33209
Subject: LU-11380 llite: add LL_IOC_FID2PARENT
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4bd9a9f703edb3a9c29a8a91c39b8ec87fcc4b3a

Comment by Gerrit Updater [ 21/Sep/18 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33215
Subject: LU-11380 hsm: streamline copytool restore handling
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4f9999c59d1bb396a1593ecd7213b6026ea3019a

Comment by Gerrit Updater [ 05/Oct/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33172/
Subject: LU-11380 llite: zero lum for stripeless files
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fab95b4345db3c9e4108e06a76c14bcda575e24e

Comment by Gerrit Updater [ 10/Nov/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33198/
Subject: LU-11380 mdc: move empty xattr handling to mdc layer
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0f42b388432c4b898857660197ef13a40a82cd9d

Comment by Gerrit Updater [ 02/Apr/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34571
Subject: LU-11380 llapi: remove unused "recno" argument
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5af9c2e6be3fe5ca3ac779af85ebbb91ae253986

Comment by Gerrit Updater [ 30/Jul/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35648
Subject: LU-11380 llite: split llapi_fid2path() into two functions
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f40a114ef29289e7063b54b6ab67e4243c7789ce

Comment by Gerrit Updater [ 02/Aug/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35673
Subject: LU-11380 llapi: separate FID functions and man pages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 18ca9bcbb7a2ad19609c10f727addf99fd6623a0

Comment by Gerrit Updater [ 13/Sep/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36184
Subject: LU-11380 llapi: split llapi_fid_* to separate file
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4922c6455cb827e74ac0348e6ac50377bcb1c05f

Comment by Gerrit Updater [ 27/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35673/
Subject: LU-11380 llapi: separate FID man pages
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 253cc7ae49f89bba919a5a570209e2629b3843c6

Comment by Gerrit Updater [ 06/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36184/
Subject: LU-11380 llapi: add llapi_fid_parse() helper
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 21d671b3af09af65d38a454e677c5da9830e0c7a

Comment by John Hammond [ 23/Jun/21 ]

Fixed by landing of https://review.whamcloud.com/#/c/33172/ LU-11380 llite: zero lum for stripeless files

Generated at Sat Feb 10 02:43:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.