[LU-2886] create local files using local_storage library Created: 27/Feb/13  Updated: 10/May/13  Resolved: 10/May/13

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

Type: Bug Priority: Blocker
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: MB

Issue Links:
Related
is related to LU-838 "lfs path2fid /mnt/lustre" (ROOT) ret... Resolved
Severity: 3
Rank (Obsolete): 6967

 Description   

Switch local file handling to local_storage library and stop using obsoleted md_local_file library. This is technical debt from Orion.



 Comments   
Comment by John Hammond [ 08/Mar/13 ]

See http://review.whamcloud.com/#change,4682.

Comment by Peter Jones [ 13/Apr/13 ]

Landed for 2.4

Comment by Andreas Dilger [ 06/May/13 ]

Reopen because http://review.whamcloud.com/6199 still needs to be landed.

Comment by Jodi Levi (Inactive) [ 06/May/13 ]

http://review.whamcloud.com/#change,6107

Comment by Andreas Dilger [ 06/May/13 ]

http://review.whamcloud.com/6107 is a cleanup patch, not required to be landed for 2.4.0.

Comment by Peter Jones [ 09/May/13 ]

Dropped priority as remaining work is cleanup rather than a blocker for 2.4

Comment by Peter Jones [ 09/May/13 ]

Oops. It's the cleanup patch that just landed so setting back to a blocker

Comment by nasf (Inactive) [ 09/May/13 ]

Hi Tappro, for an old MDT upgrade to Lustre-2.4, there were some local files created with fixed FIDs {FID_SEQ_LOCAL_FILE, fixed_oid, 0}. How the new local_file_find_or_create() or local_index_find_or_create() can guarantee that the new create local files will not reuse these fixed FIDs?

Comment by nasf (Inactive) [ 09/May/13 ]

Hi Tappro, since it is very near lustre-2.4 release and Russian seems in vacation. So I made a small patch (http://review.whamcloud.com/#change,6299) to fix the issue mentioned above as Andreas suggested, then it can be tested sooner.

Please review it when you are back from vacation. Thanks.

Comment by Jodi Levi (Inactive) [ 09/May/13 ]

Patches landed to master.

Comment by Mikhail Pershin [ 09/May/13 ]

Old fixed FIDs will not be reused because FID_SEQ_LOCAL_FILE is not used by local storage at all. Strictly speaking this sequence should be used only for nameless objects created by dt_object_find_or_create(). There is no need in compatibility efforts in this area.

Comment by Andreas Dilger [ 10/May/13 ]

Reopened for http://review.whamcloud.com/6299 landing.

Comment by Jodi Levi (Inactive) [ 10/May/13 ]

Patch landed to master

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