Skip to content
Commit 7ff9345f authored by Jens Axboe's avatar Jens Axboe
Browse files

bio: only mempool back the largest bio_vec slab cache



We only very rarely need the mempool backing, so it makes sense to
get rid of all but one of the mempool in a bio_set. So keep the
largest bio_vec count mempool so we can always honor the largest
allocation, and "upgrade" callers that fail.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent a31a9738
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment