[LU-11482] Inherit component level flags from default layout Created: 08/Oct/18 Updated: 19/Dec/18 Resolved: 23/Oct/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0, Lustre 2.12.0 |
| 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 | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Today, new files created in directories with a default layout set do not inherit per-component layout flags. This makes it impossible, for example, to set the preferred write replica or NOSYNC flags in a default layout and have it actually inherited. (In particular, it does appear in the directory striping, but new files do not pick it up.) |
| Comments |
| Comment by Andreas Dilger [ 09/Oct/18 ] |
|
Patrick, is this something you are actively working on? It would be great to get this fixed for 2.12. |
| Comment by Patrick Farrell (Inactive) [ 09/Oct/18 ] |
|
Sorry, yes - I have a patch for this, and while writing a test for it, I hit another bug and got distracted trying to figure that out. I'm going to push the patch with a test that doesn't hit the other bug, and also open the other bug. |
| Comment by Gerrit Updater [ 09/Oct/18 ] |
|
Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/33326 |
| Comment by Patrick Farrell (Inactive) [ 09/Oct/18 ] |
|
The bug I found - layout corruption - is open at https://jira.whamcloud.com/browse/LU-11485 . |
| Comment by Patrick Farrell (Inactive) [ 09/Oct/18 ] |
|
Also found that FLR allows overlapping write prefer flags: |
| Comment by Gerrit Updater [ 23/Oct/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33326/ |
| Comment by Peter Jones [ 23/Oct/18 ] |
|
Landed for 2.12 |