Commit cc90bc6
block: fix "check bi_size overflow before merge"
This partially reverts commit e3a5d8e.
Commit e3a5d8e ("check bi_size overflow before merge") adds a bio_full
check to __bio_try_merge_page. This will cause __bio_try_merge_page to fail
when the last bi_io_vec has been reached. Instead, what we want here is only
the bi_size overflow check.
Fixes: e3a5d8e ("block: check bi_size overflow before merge")
Cc: [email protected] # v5.4+
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>1 parent dc3ecfc commit cc90bc6
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| 761 | + | |
| 762 | + | |
761 | 763 | | |
762 | 764 | | |
763 | 765 | | |
| |||
0 commit comments