History

Merge tag 'for-linus-20190726-2' of git://git.kernel.dk/linux-block

Pull block DMA segment fix from Jens Axboe: "Here's the virtual boundary segment size fix" * tag 'for-linus-20190726-2' of git://git.kernel.dk/linux-block: block: fix max segment size handling in blk_queue_virt_boundary

Linus Torvalds committed 7 years ago

Commit 5168afe2 parents 40233e7 c6c84f71 file · +2 −1Browse files

Unified · Split

block/blk-settings.c+2−1
@@ -752,7 +752,8 @@ void blk_queue_virt_boundary(struct request_queue *q, unsigned long mask) · 751 unmodified lines
752752 * page (which might not be idential to the Linux PAGE_SIZE). Because
753753 * of that they are not limited by our notion of "segment size".
754754 */
755− q->limits.max_segment_size = UINT_MAX;
755+ if (mask)
756+ q->limits.max_segment_size = UINT_MAX;
756757 }
757758 EXPORT_SYMBOL(blk_queue_virt_boundary);
758759

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