block: use bi_max_vecs to find the bvec pool
Instead of encoding of the bvec pool using magic bio flags, just use a helper to find the pool based on the max_vecs value. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/bio-integrity.c 4 additions, 7 deletionsblock/bio-integrity.c
- block/bio.c 43 additions, 61 deletionsblock/bio.c
- block/blk.h 3 additions, 3 deletionsblock/blk.h
- include/linux/bio.h 0 additions, 1 deletioninclude/linux/bio.h
- include/linux/blk_types.h 1 addition, 28 deletionsinclude/linux/blk_types.h
Loading
Please register or sign in to comment