raid5: use flex_array for scribble data
authorshli@kernel.org <shli@kernel.org>
Mon, 15 Dec 2014 01:57:02 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 21 Apr 2015 22:00:41 +0000 (08:00 +1000)
commit46d5b785621ad10a373e292f9101ccfc626466e0
tree3ba39d078e74738216221317bad3aca8f65a1519
parent753f2856cda2a130d38ebc3db97bff66c1ef3ca7
raid5: use flex_array for scribble data

Use flex_array for scribble data. Next patch will batch several stripes
together, so scribble data should be able to cover several stripes, so this
patch also allocates scribble data for stripes across a chunk.

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