raid10: include bio_end_io_list in nr_queued to prevent freeze_array hang
authorShaohua Li <shli@fb.com>
Mon, 14 Mar 2016 18:49:32 +0000 (11:49 -0700)
committerShaohua Li <shli@fb.com>
Thu, 17 Mar 2016 21:27:01 +0000 (14:27 -0700)
commit23ddba80ebe836476bb2fa1f5ef305dd1c63dc0b
tree087fe99d5d520c7caaeefaa9784329f720a41b0c
parentccfc7bf1f09d6190ef86693ddc761d5fe3fa47cb
raid10: include bio_end_io_list in nr_queued to prevent freeze_array hang

This is the raid10 counterpart of the bug fixed by Nate
(raid1: include bio_end_io_list in nr_queued to prevent freeze_array hang)

Fixes: 95af587e95(md/raid10: ensure device failure recorded before write request returns)
Cc: stable@vger.kernel.org (V4.3+)
Cc: Nate Dailey <nate.dailey@stratus.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c