]> git.baikalelectronics.ru Git - kernel.git/commit
raid5: fix broken async operation chain
authorShaohua Li <shli@kernel.org>
Wed, 13 May 2015 16:30:08 +0000 (09:30 -0700)
committerNeilBrown <neilb@suse.de>
Wed, 20 May 2015 23:14:20 +0000 (09:14 +1000)
commit772eb32264f80584e805cad13c3270d56ead3650
treebc03d9ac49f4344fea737912783f5f9c9624094e
parent0857b86b0b45cca8ec5213844218d5aba07665db
raid5: fix broken async operation chain

ops_run_reconstruct6() doesn't correctly chain asyn operations. The tx returned
by async_gen_syndrome should be added as the dependent tx of next stripe.

The issue is introduced by commit 0a082b77715af2259a90be2cd03a3de81a3305ea
    RAID5: batch adjacent full stripe write

Reported-and-tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c