ext4: Convert ext4 DAX IO to iomap framework
Status from this message: I've merged these patches into the ext4.git tree, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 1 replyApplied
- v211 patches 20 repliesSuperseded
- v111 patches 14 repliesSuperseded
Changes in v3 from the cover letter
* Various smaller fixes based on Ross' review, added his Reviewed-by tags
* rebase on top of XFS tree branch
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ext4: Factor out checks from ext4_file_write_iter()fs/ | +50 | 0 replies | |
| 2/10 | ext4: Let S_DAX set only if DAX is really supportedfs/ fs/ fs/ | +24 | 0 replies | |
| 3/10 | ext4: Convert DAX reads to iomap infrastructurefs/ fs/ fs/ | +93 | 0 replies | |
| 4/10 | ext4: Use iomap for zeroing blocks in DAX modefs/ | +4 | 0 replies | |
| 5/10 | ext4: DAX iomap write supportfs/ fs/ | +160 | 0 replies | |
| 6/10 | ext4: Avoid split extents for DAX writesfs/ | +0 | 0 replies | |
| 7/10 | ext4: Convert DAX faults to iomap infrastructurefs/ fs/ | +14 | 0 replies | |
| 8/10 | ext4: Rip out DAX handling from direct IO pathfs/ fs/ | +15 | 2 replies | |
| 9/10 | ext2: Use iomap_zero_range() for zeroing truncated page in DAX pathfs/ | +8 | 0 replies | |
| 10/10 | dax: Rip out get_block based IO supportDocumentation/ fs/ include/ | +11 | 0 replies |
Reviews trailers per patch
7 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Ross Zwisler |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/10 v3] ext4: Convert ext4 DAX IO to iomap framework
Hello,
this is the third revision of my patches to convert ext4 DAX IO paths to the new iomap framework and removes the old bh-based DAX functions. As a result ext4 gains PMD page fault support, also some other minor bugs get fixed. The patch set is based on Ross' DAX PMD page fault support series currently carried in XFS tree [1]. It passes xfstests both in DAX and non-DAX mode - I'd just note that ext4/001 test is failing due to different block layout generated by iomap code (caused by patch "ext4: Avoid split extents for DAX writes"). I'll fix that up in xfstests once patches get into ext4 tree.
I have pushed out updated version of these patches including the follow-up DAX patches to:
git://get.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git dax
for easy testing. Ted, can you pull branch [1] into your tree and apply these patches on top of that if nobody has other comments? I'd like to get things prepared for the coming merge window.
Changes since v2:
* Various smaller fixes based on Ross' review, added his Reviewed-by tags
* rebase on top of XFS tree branch
Changes since v1:
* Changed ext4_iomap_begin() and ext4_iomap_end() to not keep transaction handle running between these two functions as that causes lock ordering issues.
Honza
[1] git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git dax-4.10-iomap-pmd