[LU-13395] unable to set "--comp-flags=prefer" on a new file Created: 27/Mar/20 Updated: 08/Mar/21 Resolved: 08/Mar/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0, Lustre 2.14.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
It is not possible to set "--comp-flags=prefer" in the default or regular file layout since patch https://review.whamcloud.com/33784 " The function "llapi_layout_sanity_cb()" is imposing a false constraint that LCME_FL_PREF_RW cannot be set on non-FLR files: /* The component flags can be set by users at creation/modification time. */ #define LCME_USER_COMP_FLAGS (LCME_FL_PREF_RW | LCME_FL_NOSYNC | \ LCME_FL_EXTENSION) : if (args->lsa_flr) { if (comp->llc_flags & ~LCME_USER_COMP_FLAGS) args->lsa_rc = LSE_FLAGS; } else { if (comp->llc_flags & ~LCME_FL_EXTENSION) args->lsa_rc = LSE_FLAGS; } } |
| Comments |
| Comment by Andreas Dilger [ 08/Mar/21 ] |
|
This was fixed via patch https://review.whamcloud.com/39698 " |