aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2011-07-26 11:19:49 +1000
committerNeilBrown <[email protected]>2011-07-26 11:19:49 +1000
commit83206d66b65118d995c38746f21edc2bb8564b49 (patch)
tree69e1c082cb33d19a508c764da613e0c6b5ced27b /tools/perf/scripts/python
parentffd96e35c16a99fdb490cc5723b8e32135ae5883 (diff)
md/raid5: Remove use of sh->lock in sync_request
This is the start of a series of patches to remove sh->lock. sync_request takes sh->lock before setting STRIPE_SYNCING to ensure there is no race with testing it in handle_stripe[56]. Instead, use a new flag STRIPE_SYNC_REQUESTED and test it early in handle_stripe[56] (after getting the same lock) and perform the same set/clear operations if it was set. Signed-off-by: NeilBrown <[email protected]> Reviewed-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions