]> git.baikalelectronics.ru Git - kernel.git/commit
md: ensure all blocks are uptodate or locked when syncing
authorDan Williams <dan.j.williams@intel.com>
Thu, 10 Jul 2008 11:54:57 +0000 (04:54 -0700)
committerNeil Brown <neilb@suse.de>
Thu, 10 Jul 2008 05:25:18 +0000 (15:25 +1000)
commit387d8ba4b7e39c6b228ad58a2594ef9b1b4acb2f
tree9006ecc4323f2a55e6e16f2e19e41ec3c4c3a1ea
parent82c6ba49704120d4bede968f5615bc8a11c0e0c1
md: ensure all blocks are uptodate or locked when syncing

Remove the dubious attempt to prefer 'compute' over 'read'.  Not only is it
wrong given commit c3211acb (md: do not compute parity unless it is on a failed
drive), but it can trigger a BUG_ON in handle_parity_checks5().

Cc: <stable@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/raid5.c