diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-09-16 19:34:28 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2022-09-22 00:05:05 -0700 |
commit | b9b083f9044abf89f3391fbc196ddece68ac9dba (patch) | |
tree | e68cc5787d8330edd314232e3bdb9deac95594f8 /tools/perf/scripts/python | |
parent | 4f350284a7306b3dff676caeafd3faf1b5c068d5 (diff) |
md/raid10: convert resync_lock to use seqlock
Currently, wait_barrier() will hold 'resync_lock' to read 'conf->barrier',
and io can't be dispatched until 'barrier' is dropped.
Since holding the 'barrier' is not common, convert 'resync_lock' to use
seqlock so that holding lock can be avoided in fast path.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-and-Tested-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions