[LU-14542] tunable for tgt_grant_sanity_check Created: 22/Mar/21  Updated: 06/Jan/22  Resolved: 06/Jan/22

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

Type: Bug Priority: Minor
Reporter: Vladimir Saveliev Assignee: Vladimir Saveliev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
void tgt_grant_sanity_check(struct obd_device *obd, const char *func)
..
        /* We don't want to do this for large machines that do lots of                                                                                                               
         * mounts or unmounts.  It burns... */
        if (obd->obd_num_exports > 100)
                return;
..

it would be good to be able to control the grant sanity check threshold with a tunable parameter.



 Comments   
Comment by Gerrit Updater [ 22/Mar/21 ]

Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/42128
Subject: LU-14542 obd: tunable for sanity grant check
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a713acfff0b215cf9591ade8b4fe9fa2ff83d269

Comment by Gerrit Updater [ 28/Apr/21 ]

sorry pushing  wrong..

Comment by Gerrit Updater [ 06/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/42128/
Subject: LU-14542 obd: tunable for sanity grant check
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 103be254e14d740ad2483169bde7376736dc85a0

Comment by Cory Spitz [ 06/Jan/22 ]

Landed for 2.15.0.

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