[LU-4021] Volatile files should be accessible on all clients Created: 28/Sep/13  Updated: 21/Oct/13  Resolved: 28/Sep/13

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

Type: Bug Priority: Major
Reporter: Johann Lombardi (Inactive) Assignee: Jinshan Xiong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 10806

 Description   

Any clients should be able to open_by_fid a volatile file. This is a requirement for copy tools capable of parallel restore, like Grau Data.
Add it to 2.5 blockers as per my discussion with Andreas today.



 Comments   
Comment by Jinshan Xiong (Inactive) [ 28/Sep/13 ]

Actually it's working now because we don't set the DEAD_OBJ on volatile files yet. I think we should have set it to make volatile file look more like unlinked file otherwise we still can access volatile from .lustre/fid path. If they strongly objected to, we can simply not fix it.

Comment by Andreas Dilger [ 28/Sep/13 ]

In upcoming kernel versions, they will also gain the concept of a volatile file and also the ability to link it to the namespace using flink_at() or similar, so it doesn't seem so unlikely that these files will be seen in normal usage.

Comment by Johann Lombardi (Inactive) [ 28/Sep/13 ]

So the actual situation is that opening_by_fid() a volatile file on a different client works just fine currently. Jinshan just threatened to remove this capability.

After further discussions, we all agreed that this functionality is required for parallel restore and we will just leave it in.

Comment by John Hammond [ 28/Sep/13 ]

I manually verified that this works on today's master (lustre-2.4.93-2.6.32_358.18.1.el6_lustre.gdadfda6.x86_64_ga217228.x86_64) but it would be good to add a sanity test so that we don't regress on this.

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