Skip to content
Commit 89f94b64 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Song Liu
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 0dd00cba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment