Skip to content

Fix fsync on ext3 and ext4 (v2)

Jan Kara linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ext3: Wait for proper transaction commit on fsyncfs/ext3/fsync.c fs/ext3/inode.c fs/ext3/super.c +1 more+57 -210 replies
2/4ext4: Avoid issuing barriers on error recovery pathfs/ext4/fsync.c+3 -23 replies
3/4ext4: Fix error handling ext4_ind_get_blocksfs/ext4/inode.c+1 -11 reply
4/4ext4: Wait for proper transaction commit on fsyncfs/ext4/ext4.h fs/ext4/ext4_jbd2.h fs/ext4/extents.c +3 more+81 -259 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAneesh Kumar K.V
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] Fix fsync on ext3 and ext4 (v2)

Hi,

this is a second try for a patchset which makes ext3 and ext4 properly force
a transaction commit when needed. We now do not rely on buffer dirty bits (which does not work as pdflush can just clear them without forcing a transaction commit) but rather keep transaction ids that need to be committed for each inode.
Since last version, I've implemented Aneesh's and Curt's comments and also
fixed a missing initialization of the fields. I've tested that now the patch works correctly for uninitialized extents as well as for standard writes. If noone objects, would you merge the ext4 part Ted? I'll take care of the ext3 patch.

Honza