Skip to content

ext4: Add XIP functionality

Ross Zwisler linux-ext4 linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 8 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Fix XIP fault vs truncate racemm/filemap_xip.c+22 -20 replies
2/4ext4: Add XIP functionalityDocumentation/filesystems/ext4.txt Documentation/filesystems/xip.txt fs/Kconfig +9 more+221 -88 replies
3/4xip: Add xip_zero_page_rangeinclude/linux/fs.h mm/filemap_xip.c+23 -160 replies
4/4ext4: Add xip hole punchingfs/ext4/ext4.h fs/ext4/inode.c+33 -330 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchAndreas Dilger
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] ext4: Add XIP functionality

This patch series addresses the comments received from the first revision.

We didn't change our use of ext4_get_block() to ext4_map_blocks() because it seems like we would need to add code to deal with journal entries, similar to what is done in _ext4_get_block(). This seemed more complicated than using a temporary struct buffer_head on the stack - please let us know if you disagree.

Matthew Wilcox (3):
Fix XIP fault vs truncate race
xip: Add xip_zero_page_range
ext4: Add xip hole punching

Ross Zwisler (1):
ext4: Add XIP functionality

 Documentation/filesystems/ext4.txt |    2 +
 Documentation/filesystems/xip.txt  |    3 ++
 fs/Kconfig                         |    2 +-
 fs/ext4/Kconfig                    |   11 +++++
 fs/ext4/Makefile                   |    1 +
 fs/ext4/ext4.h                     |    4 +-
 fs/ext4/file.c                     |   17 +++++++
 fs/ext4/inode.c                    |   86 +++++++++++++++++++++++++-----------
 fs/ext4/namei.c                    |   11 ++++-
 fs/ext4/super.c                    |   36 ++++++++++++++-
 fs/ext4/xip.c                      |   78 ++++++++++++++++++++++++++++++++
 fs/ext4/xip.h                      |   24 ++++++++++
 include/linux/fs.h                 |    8 ++++
 mm/filemap_xip.c                   |   55 +++++++++++++++--------
 14 files changed, 289 insertions(+), 49 deletions(-)
 create mode 100644 fs/ext4/xip.c
 create mode 100644 fs/ext4/xip.h
Signature · 1 line
1.7.10.4