1
0
Fork 0
alistair23-linux/drivers/block/xen-blkback
Matthew Wilcox (Oracle) 5f7136db82 block: Add bio_max_segs
It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the
sign to be the same.  Introduce bio_max_segs() and change BIO_MAX_PAGES to
be unsigned to make it easier for the users.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-02-26 15:49:51 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
blkback.c block: Add bio_max_segs 2021-02-26 15:49:51 -07:00
common.h for-5.11/block-2020-12-14 2020-12-16 12:57:51 -08:00
xenbus.c xen/events: link interdomain events to associated xenbus device 2021-02-11 14:47:00 -08:00