[LU-10337] Open by handle does not work with unlinked files from multiple nodes Created: 06/Dec/17 Updated: 14/Dec/18 Resolved: 29/Oct/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | Patrick Farrell (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
When doing open by handle, a requirement is that it be possible to open already open unlinked files. This is important for the sort of userspace NFS server/ i/o forwarder (DVS) uses that file handles are intended for. This works from one node in Lustre, but not across multiple nodes. This looks fixable - It's possible to open an orphaned file, it seems to be as simple as using the code from mdd_close in mdd_open, particularly rewriting the "EEXIST check" (mdd_is_dead_obj) to check if the object is an orphan and then open it anyway. Patch forthcoming. |
| Comments |
| Comment by Gerrit Updater [ 06/Dec/17 ] |
|
Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30404 |
| Comment by Gerrit Updater [ 06/Dec/17 ] |
|
Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30405 |
| Comment by Gerrit Updater [ 29/Oct/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/30405/ |
| Comment by Peter Jones [ 29/Oct/18 ] |
|
Landed for 2.12 |