[LU-9348] brw_size is not always dynamically changeable Created: 15/Apr/17 Updated: 26/Nov/17 Resolved: 26/Nov/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Salinas (Inactive) | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | LS_RZ | ||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
On one OSS I could do: But on another OSS I could not do the same thing:
dmesg: The impact is that this pool has to be unmounted and destroyed before more testing with different brw_size can continue. This only happens with OSTs that have been used with existing data, on a newly formatted OST I seem to be able to change the size every time. |
| Comments |
| Comment by John Salinas (Inactive) [ 18/Apr/17 ] |
|
Andreas looked this up: static ssize_t ofd_brw_size_seq_write(struct file file, const char __user buffer, size_t count, loff_t *off) { : : if (val > DT_MAX_BRW_SIZE || val < (1 << ofd->ofd_blockbits)) return -ERANGE; In this case I had set the record size to16M on this node (but 1M on the other node) and that is why I could not change it here. I did not see this mentioned in the documentation but perhaps I missed it. |
| Comment by Gerrit Updater [ 19/Apr/17 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/26726 |
| Comment by Gerrit Updater [ 19/Apr/17 ] |
|
Joseph Gmitter (joseph.gmitter@intel.com) merged in patch https://review.whamcloud.com/26726/ |