summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorOfer Heifetz <oferh@marvell.com>2017-07-24 09:17:40 +0300
committerShaohua Li <shli@fb.com>2017-07-24 07:49:15 -0700
commit7e96d559634b73a8158ee99a7abece2eacec2668 (patch)
treef99f2d4f7b1475f420bf5652c87e06179c47ccdd /drivers/md/md.c
parent6308d8e3d42bea15461c696df1ad74c2944b5c23 (diff)
downloadlinux-7e96d559634b73a8158ee99a7abece2eacec2668.tar.gz
linux-7e96d559634b73a8158ee99a7abece2eacec2668.tar.bz2
linux-7e96d559634b73a8158ee99a7abece2eacec2668.zip
md/raid5: add thread_group worker async_tx_issue_pending_all
Since thread_group worker and raid5d kthread are not in sync, if worker writes stripe before raid5d then requests will be waiting for issue_pendig. Issue observed when building raid5 with ext4, in some build runs jbd2 would get hung and requests were waiting in the HW engine waiting to be issued. Fix this by adding a call to async_tx_issue_pending_all in the raid5_do_work. Signed-off-by: Ofer Heifetz <oferh@marvell.com> Cc: stable@vger.kernel.org Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions