diff options
author | Ofer Heifetz <oferh@marvell.com> | 2017-07-24 08:17:40 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-07-24 16:49:15 +0200 |
commit | 7e96d559634b73a8158ee99a7abece2eacec2668 (patch) | |
tree | f99f2d4f7b1475f420bf5652c87e06179c47ccdd /drivers/acpi/hed.c | |
parent | md: simplify code with bio_io_error (diff) | |
download | linux-7e96d559634b73a8158ee99a7abece2eacec2668.tar.xz 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/acpi/hed.c')
0 files changed, 0 insertions, 0 deletions