diff options
| author | 2022-09-16 19:34:28 +0800 | |
|---|---|---|
| committer | 2022-09-22 00:05:05 -0700 | |
| commit | b9b083f9044abf89f3391fbc196ddece68ac9dba (patch) | |
| tree | e68cc5787d8330edd314232e3bdb9deac95594f8 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | md/raid10: fix improper BUG_ON() in raise_barrier() (diff) | |
| download | linux-dev-b9b083f9044abf89f3391fbc196ddece68ac9dba.tar.xz linux-dev-b9b083f9044abf89f3391fbc196ddece68ac9dba.zip | |
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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
