We really don't need this, as the slow path will do the right thing anyway. This reverts commit 6952a7f8446ee85ea9d10ab87b64797a031eaae3.
Unified · Split
| @@ -320,7 +320,7 @@ void __blk_queue_split(struct request_queue *q, struct bio **bio, · 319 unmodified lines | ||
| 320 | 320 | if (!q->limits.chunk_sectors && |
| 321 | 321 | (*bio)->bi_vcnt == 1 && |
| 322 | 322 | ((*bio)->bi_io_vec[0].bv_len + |
| 323 | − (*bio)->bi_io_vec[0].bv_offset) <= SZ_4K) { | |
| 323 | + (*bio)->bi_io_vec[0].bv_offset) <= PAGE_SIZE) { | |
| 324 | 324 | *nr_segs = 1; |
| 325 | 325 | break; |
| 326 | 326 | } |