[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 |
| Comment by Gerrit Updater [ 24/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35805/ |
| Comment by Peter Jones [ 24/Mar/20 ] |
|
Landed for 2.14 |