Skip to content

Tiny optimization for large read operations

Chi Zhiling linux-fsdevel linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Changes from rfc from the cover letter

- update commits
- switch to the new solution which provided by Matthew Wilcox.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/filemap: Do not use is_partially_uptodate for entire foliomm/filemap.c+3 -00 replies
2/2mm/filemap: Skip non-uptodate folio if there are available foliosmm/filemap.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] Tiny optimization for large read operations

From: Chi Zhiling <[email protected]>

This series contains two patches,

1. Skip calling is_partially_uptodate for entire folio to save time, I have reviewed the mpage and iomap implementations and didn't spot any issues, but this change likely needs more thorough review.

2. Skip calling filemap_uptodate if there are ready folios in the batch, This might save a few milliseconds in practice, but I didn't observe measurable improvements in my tests.

Changes from rfc:
- update commits
- switch to the new solution which provided by Matthew Wilcox.

rfc:
https://lore.kernel.org/linux-fsdevel/[email protected]/

Chi Zhiling (2):
mm/filemap: Do not use is_partially_uptodate for entire folio mm/filemap: Skip non-uptodate folio if there are available folios

 mm/filemap.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0