aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArtur Paszkiewicz <[email protected]>2024-08-27 17:35:35 +0200
committerSong Liu <[email protected]>2024-08-29 09:37:10 -0700
commit0e4aac7366666e1377ce7669b7f63b94c1d616e6 (patch)
tree5c4c6d95e12ff6d70ab4a41d7eb1290eb57b5fee /lib/memory-notifier-error-inject.c
parente6a03207b925aebe10d6aacd8e040ccdaa731bff (diff)
md/raid5: only add to wq if reshape is in progress
Now that actual overlaps are not handled on the wait_for_overlap wq anymore, the remaining cases when we wait on this wq are limited to reshape. If reshape is not in progress, don't add to the wq in raid5_make_request() because add_wait_queue() / remove_wait_queue() operations take a spinlock and cause noticeable contention when multiple threads are submitting requests to the mddev. Signed-off-by: Artur Paszkiewicz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions