raid5-cache: use bio chaining
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Oct 2015 07:31:16 +0000 (09:31 +0200)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:28 +0000 (13:48 +1100)
commit6143e2cecb9ef9c7d3392c9c2583f231705413a5
treeda2990fffea55ce3caaee1d4efd0e4147caa5e46
parent2b8ef16ec4c529c7df3bb4e4eba45ac645a97b00
raid5-cache: use bio chaining

Simplify the bio completion handler by using bio chaining and submitting
bios as soon as they are full.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c