raid5-cache: statically allocate the recovery ra bio
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:25:02 +0000 (13:25 +0200)
committerSong Liu <song@kernel.org>
Wed, 9 Mar 2022 06:55:09 +0000 (22:55 -0800)
commit89f94b64408b576c88e407d87061bb7b9bc2111d
treebddffec274b94ed4ca22b269a56fecd7be7923e3
parent0dd00cba99c352dc9afd62979f350d808c215cb9
raid5-cache: statically allocate the recovery ra bio

There is no need to preallocate the bio and reset it when use.  Just
allocate it on-stack and use a bvec places next to the pages used for
it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5-cache.c