md/raid5,6: common schedule_reconstruction for raid5/6
authorYuri Tikhonov <yur@emcraft.com>
Sun, 30 Aug 2009 02:13:12 +0000 (19:13 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 30 Aug 2009 02:13:12 +0000 (19:13 -0700)
commitc0f7bddbe60f43578dccf4ffb8d4bff88f625ea7
tree4100908f0a90821b6b1e42b725f25d279525799f
parentac6b53b6e6acab27e4f3e2383f9ac1f0d7c6200b
md/raid5,6: common schedule_reconstruction for raid5/6

Extend schedule_reconstruction5 for reuse by the raid6 path.  Add
support for generating Q and BUG() if a request is made to perform
'prexor'.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/md/raid5.c