raid5: disable batch with log enabled
authorShaohua Li <shli@fb.com>
Thu, 13 Aug 2015 21:32:02 +0000 (14:32 -0700)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:26 +0000 (13:48 +1100)
commit9c3e333d3f8b01407c8e9f78958e28a8594a0827
treefa18a05290aa25dfa15b80f2e14c8f3a5341d43d
parent5cb2fbd6ea0d151dcb12d98c06c8761eedfed2ee
raid5: disable batch with log enabled

With log enabled, r5l_write_stripe will add the stripe to log. With
batch, several stripes are linked together. The stripes must be in the
same state. While with log, the log/reclaim unit is stripe, we can't
guarantee the several stripes are in the same state. Disabling batch for
log now.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5.c