Make O_SYNC handling use standard syncing path
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 76 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
2 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/17 | R-b |
| 2/17 | R-b |
| 3/17 | |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/17] Make O_SYNC handling use standard syncing path
Hi,
below comes a patch series that unifies O_SYNC handling with code doingfsync(). After this, we have just one place forcing a single file to disk so filesystems like ext3 / ext4 don't have to force a transaction commit in ext?_file_write for O_SYNC files / IS_SYNC inodes.
The code is also cleaner this way (actually about 150 lines shorter), we
don't sync the inode several times as it happened previously etc.
The patchset touches quite some filesystems. Hopefully I've added all the
relevant people to CC for the relevant patches. I've tested via blktrace that for ext?, xfs, ocfs2 and fat, the file is indeed forced to disk as expected. Maintainers of pohmelfs and NTFS might want to check that everything works as expected for them after applying the patches.
Comments / review welcome.
Honza