Files
mirror_zfs/module/os/linux/zfs
Coleman Kane 5722dce473 Linux 5.12 update: bio_max_segs() replaces BIO_MAX_PAGES
The BIO_MAX_PAGES macro is being retired in favor of a bio_max_segs()
function that implements the typical MIN(x,y) logic used throughout the
kernel for bounding the allocation, and also the new implementation is
intended to be signed-safe (which the former was not).

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #11765
(cherry picked from commit ffd6978ef5)
Signed-off-by: Jonathon Fernyhough <jonathon@m2x.dev>
2021-06-23 13:22:15 -07:00
..
2020-08-30 14:18:50 -07:00
2021-06-23 13:22:15 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-11-11 11:40:15 -08:00
2020-10-16 12:55:56 -07:00
2020-04-10 10:33:35 -07:00
2021-06-23 13:22:14 -07:00
2021-03-08 09:07:21 -08:00
2021-06-23 13:22:15 -07:00
2021-06-23 13:22:15 -07:00
2021-06-23 13:22:15 -07:00