Home
last modified time | relevance | path

Searched hist:"7 d636676" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/iomap/
H A Dbuffered-io.c7d636676 Mon Sep 21 10:58:40 CDT 2020 Matthew Wilcox (Oracle) <willy@infradead.org> iomap: Convert read_count to read_bytes_pending

Instead of counting bio segments, count the number of bytes submitted.
This insulates us from the block layer's definition of what a 'same page'
is, which is not necessarily clear once THPs are involved.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
7d636676 Mon Sep 21 10:58:40 CDT 2020 Matthew Wilcox (Oracle) <willy@infradead.org> iomap: Convert read_count to read_bytes_pending

Instead of counting bio segments, count the number of bytes submitted.
This insulates us from the block layer's definition of what a 'same page'
is, which is not necessarily clear once THPs are involved.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>