Files
linux/drivers
Matthew Wilcox (Oracle) 610664e218 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-09-28 10:28:00 -07:00
..
2020-11-18 16:42:07 -08:00
2021-09-28 10:28:00 -07:00
2020-12-03 10:00:23 +01:00
2021-09-28 10:28:00 -07:00
2020-12-08 08:15:49 +01:00
2020-09-28 12:17:36 +02:00
2021-09-28 10:28:00 -07:00
2020-09-25 06:12:15 +02:00
2020-10-27 19:23:04 +01:00
2021-09-28 10:28:00 -07:00
2020-12-04 17:39:58 +01:00