Thread (22 messages) 22 messages, 6 authors, 2025-08-18

Re: [PATCH v3 5/5] block: use largest_zero_folio in __blkdev_issue_zero_pages()

From: David Hildenbrand <hidden>
Date: 2025-08-11 09:44:24
Also in: linux-fsdevel, linux-mm, lkml

On 11.08.25 10:41, Pankaj Raghav (Samsung) wrote:
From: Pankaj Raghav <redacted>

Use largest_zero_folio() in __blkdev_issue_zero_pages().
On systems with CONFIG_PERSISTENT_HUGE_ZERO_FOLIO enabled, we will end up
sending larger bvecs instead of multiple small ones.

Noticed a 4% increase in performance on a commercial NVMe SSD which does
not support OP_WRITE_ZEROES. The device's MDTS was 128K. The performance
gains might be bigger if the device supports bigger MDTS.

Acked-by: Lorenzo Stoakes <redacted>
Signed-off-by: Pankaj Raghav <redacted>
---
Acked-by: David Hildenbrand <redacted>

-- 
Cheers,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help