[LU-3642] make seq_proc_write_common() safer Created: 25/Jul/13 Updated: 08/Jun/15 Resolved: 26/Sep/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.6, Lustre 2.4.1, Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.5.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Andreas Dilger | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9376 | ||||||||
| Description |
|
Writing arbitrary values to the /proc/fs/lustre/seq/ctl-*/space tunable is dangerous and could make a filesystem unusable. It should be limited to shrinking the available space, instead of allowing arbitrary resetting of the sequence space, which can corrupt the sequence assignments and allow permanent filesystem corruption (e.g. duplicate sequences/FIDs). |
| Comments |
| Comment by Andreas Dilger [ 25/Jul/13 ] |
| Comment by Peter Jones [ 26/Sep/13 ] |
|
Landed for 2.5.0 |