[LU-6673] NRS crash when applying tunings Created: 02/Jun/15  Updated: 17/Apr/17  Resolved: 31/Aug/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Critical
Reporter: Henri Doreau (Inactive) Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: cea, patch

Issue Links:
Related
is related to LU-7072 sanityn test_78: Expected set_param t... Resolved
is related to LU-7605 Interop master<->2.7.1 : sanityn test... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

A dangerous timeframe exists after enabling a NRS policy where setting a policy-specific tuning would lead to crashes, due to incomplete initialization of the policy.

Trivial reproducer:
echo -n orr > /proc/fs/lustre/ost/OSS/ost_io/nrs_policies & sleep 0.1 && echo -n 32 > /proc/fs/lustre/ost/OSS/ost_io/nrs_orr_quantum



 Comments   
Comment by Henri Doreau (Inactive) [ 02/Jun/15 ]

We will provide a patch

Comment by Gerrit Updater [ 02/Jun/15 ]

Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: http://review.whamcloud.com/15104
Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ad64bfdc9cc85014db86501ff1340a43034cbc57

Comment by Peter Jones [ 02/Jun/15 ]

Emoly

Could you please take care of this patch?

Thanks

Peter

Comment by Gerrit Updater [ 29/Aug/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15104/
Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d4db3f18e523256f6c562a8993332f7fb7d70486

Comment by Joseph Gmitter (Inactive) [ 31/Aug/15 ]

Landed for 2.8.

Generated at Sat Feb 10 02:02:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.