diff options
author | 2023-03-10 15:38:52 +0800 | |
---|---|---|
committer | 2023-04-13 22:20:24 -0700 | |
commit | 9fdfe6d45be2fe1bd07678bfc453e6a627c08223 (patch) | |
tree | 240ede169516b66712062ed24f6b657363bbc67d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md: fix soft lockup in status_resync (diff) | |
download | wireguard-linux-9fdfe6d45be2fe1bd07678bfc453e6a627c08223.tar.xz wireguard-linux-9fdfe6d45be2fe1bd07678bfc453e6a627c08223.zip |
md/raid10: don't BUG_ON() in raise_barrier()
If raise_barrier() is called the first time in raid10_sync_request(), which
means the first non-normal io is handled, raise_barrier() should wait for
all dispatched normal io to be done. This ensures that normal io won't
starve.
However, BUG_ON() if this is broken is too aggressive. This patch replace
BUG_ON() with WARN and fall back to not force.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230310073855.1337560-4-yukuai1@huaweicloud.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions