raid5: allow r5l_io_unit allocations to fail
authorChristoph Hellwig <hch@lst.de>
Sun, 20 Dec 2015 23:51:02 +0000 (10:51 +1100)
committerNeilBrown <neilb@suse.com>
Wed, 6 Jan 2016 00:40:12 +0000 (11:40 +1100)
commit5036c3902054358ee293b8cecfea13342d8019e8
tree7b8c543a157bbdb99fe0af617ba1679a92968286
parente8deb6381051bf3ce9d817020e8ba972b405a070
raid5: allow r5l_io_unit allocations to fail

And propagate the error up the stack so we can add the stripe
to no_stripes_list and retry our log operation later.  This avoids
blocking raid5d due to reclaim, an it allows to get rid of the
deadlock-prone GFP_NOFAIL allocation.

shli: add missing mempool_destroy()

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c
This page took 0.025301 seconds and 5 git commands to generate.