ext4: Stop using ext4_writepage() for writeout of ordered data
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest13 patches 7 repliesIn review
- v312 patches 4 repliesSuperseded
- v210 of 11 patches 8 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 9 patches | 18 replies | Superseded |
Changes in v4 from the cover letter
* Added export of buffer_migrate_page_norefs()
* Clarified commit message about page migration a bit
Patches in v4 No applies recorded yet
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Ritesh Harjani (IBM) | Christoph Hellwig |
|---|---|---|
| 1/13 | R-b | |
| 2/13 | R-b | |
| 3/13 | R-b | |
| 4/13 | R-b | |
| 5/13 | R-b | |
| 6/13 | R-b | |
| 7/13 | R-b | |
| 8/13 | R-b | |
| 9/13 | R-b | |
| 10/13 | R-b | |
| 11/13 | R-b | |
| 12/13 | R-b | |
| 13/13 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/13] ext4: Stop using ext4_writepage() for writeout of ordered data
Hello,
this patch series modifies ext4 so that we stop using ext4_writepage() for writeout of ordered data during transaction commit (through generic_writepages() from jbd2_journal_submit_inode_data_buffers()). Instead we directly call ext4_writepages() from the ext4_journal_submit_inode_data_buffers(). This is part of Christoph's effort to get rid of the .writepage() callback in all filesystems.
I have also modified ext4_writepages() to use write_cache_pages() instead of generic_writepages() so now we don't expose .writepage hook at all. We still keep ext4_writepage() as a callback for write_cache_pages(). We should refactor that path as well and get rid of ext4_writepage() completely but that is for a separate cleanup. Also note that jbd2 still uses generic_writepages() in its jbd2_journal_submit_inode_data_buffers() helper because it is still used from OCFS2. Again, something to be dealt with in a separate patchset.
Changes since v3:
* Added export of buffer_migrate_page_norefs()
* Clarified commit message about page migration a bit
Changes since v2:
* Added Reviewed-by tags from Christoph
* Added WARN_ON to verify we're not trying to start transaction from transaction commit writeback
* Converted fastcommit path to use ext4_writepages() for data writeout
* Some minor tweaks suggested by Christoph
Changes since v1:
* Added Reviewed-by tags from Ritesh
* Added patch to get rid of generic_writepages() in ext4_writepages()
* Added patch to get rid of .writepage hook
Honza
Previous versions: