[LU-12670] osd_oxc_get(): Shrink rcu critical section to not include EXIT Created: 16/Aug/19  Updated: 24/Mar/20  Resolved: 24/Mar/20

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

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

osd_oxc_get() has a quirk where ENTRY / EXIT may be unbalanced with respect to the out: label.

In addition when CDEBUG() is enabled EXIT the macro trace is included in the rcu critical section. Move EXIT outside of the critical section and re-balance the ENTRY/EXIT macros.
 



 Comments   
Comment by Gerrit Updater [ 16/Aug/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35805
Subject: LU-12670 osd-ldiskfs: Shrink rcu critical section
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 90404e2c61472b10a1d6930579915b92cea4c273

Comment by Gerrit Updater [ 24/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35805/
Subject: LU-12670 osd-ldiskfs: Shrink rcu critical section
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d90a15d133bdb29468abf40dfeaa94ab6ab5f39f

Comment by Peter Jones [ 24/Mar/20 ]

Landed for 2.14

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