History

Revert "block: split bio if the only bvec's length is > SZ_4K"

We really don't need this, as the slow path will do the right thing anyway. This reverts commit 6952a7f8446ee85ea9d10ab87b64797a031eaae3.

Jens Axboe committed 6 years ago

Commit 1e279151 parent b6866311 file · +1 −1Browse files

Unified · Split

block/blk-merge.c+1−1
@@ -320,7 +320,7 @@ void __blk_queue_split(struct request_queue *q, struct bio **bio, · 319 unmodified lines
320 if (!q->limits.chunk_sectors &&320 if (!q->limits.chunk_sectors &&
321 (*bio)->bi_vcnt == 1 &&321 (*bio)->bi_vcnt == 1 &&
322 ((*bio)->bi_io_vec[0].bv_len +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 *nr_segs = 1;324 *nr_segs = 1;
325 break;325 break;
326 }326 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t