Skip to content

Make O_SYNC handling use standard syncing path (version 4)

Jan Kara linux-arch linux-ext4 linux-fsdevel linux-xfs lkml ocfs2-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16vfs: Introduce filemap_fdatawait_rangeinclude/linux/fs.h mm/filemap.c+22 -00 replies
2/16vfs: Export __generic_file_aio_write() and add some commentsinclude/linux/fs.h mm/filemap.c+52 -70 replies
3/16vfs: Remove syncing from generic_file_direct_write() and generic_file_buffered_write()mm/filemap.c+6 -290 replies
4/16pohmelfs: Use __generic_file_aio_write instead of generic_file_aio_write_nolockdrivers/staging/pohmelfs/inode.c+1 -10 replies
5/16ocfs2: Use __generic_file_aio_write instead of generic_file_aio_write_nolockfs/ocfs2/file.c+12 -100 replies
6/16vfs: Rename generic_file_aio_write_nolockdrivers/char/raw.c fs/block_dev.c include/linux/fs.h +1 more+8 -93 replies
7/16vfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inodefs/splice.c fs/sync.c include/linux/fs.h +1 more+63 -350 replies
8/16ext2: Update comment about generic_osync_inodefs/ext2/inode.c+1 -10 replies
9/16ext3: Remove syncing logic from ext3_file_writefs/ext3/file.c+1 -600 replies
10/16ext4: Remove syncing logic from ext4_file_writefs/ext4/file.c+2 -510 replies
11/16ntfs: Use new syncing helpers and update commentsfs/ntfs/file.c fs/ntfs/mft.c+10 -190 replies
12/16ocfs2: Update syncing after splicing to match generic versionfs/ocfs2/file.c+6 -210 replies
13/16xfs: Convert sync_page_range() to simple filemap_write_and_wait_range()fs/xfs/linux-2.6/xfs_lrw.c+2 -10 replies
14/16pohmelfs: Use new syncing helperdrivers/staging/pohmelfs/inode.c+2 -20 replies
15/16fat: Opencode sync_page_range_nolock()fs/fat/file.c fs/fat/misc.c+22 -40 replies
16/16vfs: Remove generic_osync_inode() and sync_page_range{_nolock}()fs/fs-writeback.c include/linux/fs.h include/linux/writeback.h +1 more+0 -1270 replies

Reviews trailers per patch

6 of 16 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEvgeniy PolyakovChristoph HellwigJoel BeckerMark FashehTrond MyklebustJan KaraUlrich DrepperKyle McMartin
SeriesA-b A-b A-b A-b
1/16R-b
2/16A-b R-b
3/16
4/16
5/16A-b
6/16
7/16A-b
8/16
9/16
10/16
11/16
12/16A-b A-b
13/16
14/16A-b
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

Cover letter [PATCH 0/16] Make O_SYNC handling use standard syncing path (version 4)

Hi,

here is a new version of my O_SYNC cleanup patches. There are two minor
changes since last time. XFS now uses filemap_write_and_wait() as Christoph asked and generic syncing function has been renamed to vfs_fsync_range() and the flags controling it are gone and it has just a single datasync flag as other syncing functions.
If noone objects, I think the patch series is ready to be put in linux-next.

Honza