[LU-12691] obd_max_recoverable_clients is not atomic Created: 26/Aug/19 Updated: 29/May/20 Resolved: 09/Oct/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.8 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Tatsushi Takamura | Assignee: | Tatsushi Takamura |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Originally obd_max_recoverable_clients is not increased at the same moment. The type of obd_max_recoverable_clients should be atomic_t and be handled by atomic operations. |
| Comments |
| Comment by Gerrit Updater [ 26/Aug/19 ] |
|
Tatsushi Takamura (takamr.tatsushi@jp.fujitsu.com) uploaded a new patch: https://review.whamcloud.com/35914 |
| Comment by Tatsushi Takamura [ 29/Aug/19 ] |
|
We hit this LBUG when running insanity test4. (According to the crash dump,
00010000:00040000:0.0:1520239440.432805:0:10096:0:(ldlm_lib.c:2206:check_for_recovery_ready()) ASSERTION( clnts <= obd->obd_max_recoverable_clients ) failed: 00010000:00040000:0.0:1520239440.432814:0:10096:0:(ldlm_lib.c:2206:check_for_recovery_ready()) LBUG After applying this patch, this LBUG have not been reproduced.
|
| Comment by Gerrit Updater [ 09/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35914/ |
| Comment by Peter Jones [ 09/Oct/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 26/Nov/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36878 |
| Comment by Gerrit Updater [ 12/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36878/ |