raid5: revert commit 11367799f3d1
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>
Wed, 26 Oct 2016 07:20:39 +0000 (09:20 +0200)
committerShaohua Li <shli@fb.com>
Mon, 7 Nov 2016 23:08:21 +0000 (15:08 -0800)
commit7adb072ca83d71103ecc8578bee5f73c4f1eba89
treeec7e826ae93a19ddc7758527c34d69641a548c82
parent91a6c4aded58cb49f99320480bad62493c288761
raid5: revert commit 11367799f3d1

Revert commit 11367799f3d1 ("md: Prevent IO hold during accessing to faulty
raid5 array") as it doesn't comply with commit c3cce6cda162 ("md/raid5:
ensure device failure recorded before write request returns."). That change
is not required anymore as the problem is resolved by commit 16f889499a52
("md: report 'write_pending' state when array in sync") - read request is
stuck as array state is not reported correctly via sysfs attribute.

Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c