]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit268db0256c57c17d2332d35622fc5996c0fc0382
tree3ba39d078e74738216221317bad3aca8f65a1519
parentb9238ebc3321549abf4d1b092a5d164e6fc14013
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