[LU-12035] DoM/HSM: released file appears with "unknown" layout type Created: 28/Feb/19 Updated: 05/Aug/20 Resolved: 25/Feb/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | CEA | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
If releasing a file striped on MDT, it appears with a lmm_pattern "unknown". # lfs hsm_release /mnt/lustre/domfile # lfs getstripe /mnt/lustre/domfile /mnt/lustre/domfile lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 * lmm_pattern: unknown* lmm_layout_gen: 0 lmm_stripe_offset: 0 lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: -1 lmm_stripe_size: 4194304 lmm_pattern: released lmm_layout_gen: 65535 lmm_stripe_offset: 0
|
| Comments |
| Comment by Peter Jones [ 28/Feb/19 ] |
|
Mike Can you please advise? Thanks Peter |
| Comment by Mikhail Pershin [ 02/Mar/19 ] |
|
yes, it is flaw in layout2name(), patch will be posted shortly |
| Comment by Mikhail Pershin [ 25/Feb/20 ] |
|
this was fixed by commit 591a9b4cebc from |