[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:
Related
is related to LU-3565 HSM: Allow specifying minimum FID seq... Resolved
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 ]

http://review.whamcloud.com/7123

Comment by Peter Jones [ 26/Sep/13 ]

Landed for 2.5.0

Generated at Sat Feb 10 01:35:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.