[LU-12431] Close race on cp_state changes Created: 12/Jun/19  Updated: 08/Mar/22  Resolved: 27/Jul/19

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

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

Affects aarch64


Issue Links:
Related
is related to LU-12362 kernel warning 'do not call blocking ... Resolved
Severity: 2
Rank (Obsolete): 9223372036854775807

 Description   

Close a race on cp_state changes per discussion on lustre-devel

http://lists.lustre.org/pipermail/lustre-devel-lustre.org/2019-June/008860.html

Migrate wait_event / wake_up changes from upstream cl_sync_io_wait() / cl_sync_io_note().



 Comments   
Comment by Gerrit Updater [ 15/Jun/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35236
Subject: LU-12431 obdclass: discard csi_end_io
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d282f3a03336c9de435cd013a89b126a67bbd121

Comment by Shaun Tancheff [ 28/Jun/19 ]

This is (partially) related to LU-12362

and upstream linux lustre commit(s):

c3973b4aca6df794c492f6856ffbf02f2f8a9592 lustre: obd_class: remove csi_barrier from struct cl_sync_io
b5a4a6f4a936a0ece55582ea3e6b1961204fe88b lustre: obdclass: discard csi_end_io

 

Comment by Gerrit Updater [ 29/Jun/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35381
Subject: LU-12431 clio: issue wake with waitqueue lock held
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4688037855da8251bbf2f210b49e0956e7b6b98d

Comment by Gerrit Updater [ 01/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35400
Subject: LU-12431 clio: remove default csi_end_io handler
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5b180797694d56c694a553dcf558a750724a42ff

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35381/
Subject: LU-12431 clio: issue wake with waitqueue lock held
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a412f1876fac9c6c4e77a8fdd6c51c4afe03031a

Comment by Gerrit Updater [ 27/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35400/
Subject: LU-12431 clio: remove default csi_end_io handler
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6ee742fd5c56819ebe7eba65f4133d02c318916e

Comment by Peter Jones [ 27/Jul/19 ]

Landed for 2.13

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