Skip to content

nilfs2: Folio conversions for file paths

Ryusuke Konishi linux-nilfs lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] nilfs2-convert-nilfs_btnode_abort_change_key-to-use-a-folio.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesApplied 20/20

Patches in v1 All 20 applied

#Subject and filesSizeRepliesApplied
1/20nilfs2: Add nilfs_end_folio_io()fs/nilfs2/segment.c+22 -140 repliesApplied
2/20nilfs2: Convert nilfs_abort_logs to use foliosfs/nilfs2/segment.c+14 -140 repliesApplied
3/20nilfs2: Convert nilfs_segctor_complete_write to use foliosfs/nilfs2/segment.c+21 -280 repliesApplied
4/20nilfs2: Convert nilfs_forget_buffer to use a foliofs/nilfs2/page.c+5 -50 repliesApplied
5/20nilfs2: Convert to nilfs_folio_buffers_clean()fs/nilfs2/page.c fs/nilfs2/page.h fs/nilfs2/segment.c+12 -120 repliesApplied
6/20nilfs2: Convert nilfs_writepage() to use a foliofs/nilfs2/inode.c+5 -40 repliesApplied
7/20nilfs2: Convert nilfs_mdt_write_page() to use a foliofs/nilfs2/mdt.c+7 -60 repliesApplied
8/20nilfs2: Convert to nilfs_clear_folio_dirty()fs/nilfs2/inode.c fs/nilfs2/mdt.c fs/nilfs2/page.c +1 more+17 -160 repliesApplied
9/20nilfs2: Convert to __nilfs_clear_folio_dirty()fs/nilfs2/page.c fs/nilfs2/page.h fs/nilfs2/segment.c+12 -110 repliesApplied
10/20nilfs2: Convert nilfs_segctor_prepare_write to use foliosfs/nilfs2/segment.c+29 -290 repliesApplied
11/20nilfs2: Convert nilfs_page_mkwrite() to use a foliofs/nilfs2/file.c+15 -130 repliesApplied
12/20nilfs2: Convert nilfs_mdt_create_block to use a foliofs/nilfs2/mdt.c+2 -20 repliesApplied
13/20nilfs2: Convert nilfs_mdt_submit_block to use a foliofs/nilfs2/mdt.c+2 -20 repliesApplied
14/20nilfs2: Convert nilfs_gccache_submit_read_data to use a foliofs/nilfs2/gcinode.c+2 -20 repliesApplied
15/20nilfs2: Convert nilfs_btnode_create_block to use a foliofs/nilfs2/btnode.c+2 -20 repliesApplied
16/20nilfs2: Convert nilfs_btnode_submit_block to use a foliofs/nilfs2/btnode.c+4 -40 repliesApplied
17/20nilfs2: Convert nilfs_btnode_delete to use a foliofs/nilfs2/btnode.c+9 -90 repliesApplied
18/20nilfs2: Convert nilfs_btnode_prepare_change_key to use a foliofs/nilfs2/btnode.c+9 -90 repliesApplied
19/20nilfs2: Convert nilfs_btnode_commit_change_key to use a foliofs/nilfs2/btnode.c+6 -60 repliesApplied
20/20nilfs2: Convert nilfs_btnode_abort_change_key to use a foliofs/nilfs2/btnode.c+1 -10 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/20] nilfs2: Folio conversions for file paths

Hi Andrew, please queue this series for the next merge window.

This series advances page->folio conversions for a wide range of nilfs2, including its file operations, block routines, and the log writer's writeback routines. It doesn't cover large folios support, but it saves a lot of hidden compound_head() calls while preserving the existing support range behavior.

The original series in post [1] also covered directory-related page->folio conversions, but that was put on hold because a regression was found in testing, so this is an excerpt from the first half of the original post.

[1] https://lkml.kernel.org/r/[email protected]

I tested this series in both 32-bit and 64-bit environments, switching between normal and small block sizes. I also reviewed all changes in all patches to ensure they do not break existing behavior.

There were no problems, so I'm sending this part first because I would like you to keep it in the -mm tree at an early stage.

Thanks,
Ryusuke Konishi

Matthew Wilcox (Oracle) (20):
nilfs2: Add nilfs_end_folio_io()
nilfs2: Convert nilfs_abort_logs to use folios
nilfs2: Convert nilfs_segctor_complete_write to use folios
nilfs2: Convert nilfs_forget_buffer to use a folio
nilfs2: Convert to nilfs_folio_buffers_clean()
nilfs2: Convert nilfs_writepage() to use a folio
nilfs2: Convert nilfs_mdt_write_page() to use a folio
nilfs2: Convert to nilfs_clear_folio_dirty()
nilfs2: Convert to __nilfs_clear_folio_dirty()
nilfs2: Convert nilfs_segctor_prepare_write to use folios
nilfs2: Convert nilfs_page_mkwrite() to use a folio
nilfs2: Convert nilfs_mdt_create_block to use a folio
nilfs2: Convert nilfs_mdt_submit_block to use a folio
nilfs2: Convert nilfs_gccache_submit_read_data to use a folio
nilfs2: Convert nilfs_btnode_create_block to use a folio
nilfs2: Convert nilfs_btnode_submit_block to use a folio
nilfs2: Convert nilfs_btnode_delete to use a folio
nilfs2: Convert nilfs_btnode_prepare_change_key to use a folio
nilfs2: Convert nilfs_btnode_commit_change_key to use a folio
nilfs2: Convert nilfs_btnode_abort_change_key to use a folio

 fs/nilfs2/btnode.c  |  62 ++++++++---------
 fs/nilfs2/file.c    |  28 ++++----
 fs/nilfs2/gcinode.c |   4 +-
 fs/nilfs2/inode.c   |  11 ++--
 fs/nilfs2/mdt.c     |  23 +++----
 fs/nilfs2/page.c    |  68 +++++++++----------
 fs/nilfs2/page.h    |   6 +-
 fs/nilfs2/segment.c | 157 ++++++++++++++++++++++----------------------
 8 files changed, 183 insertions(+), 176 deletions(-)
Signature · 1 line
2.34.1