Skip to content

ext4: Fix potential quota deadlock

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest53 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/53ext4: Fix potential quota deadlockfs/ext4/inode.c fs/ext4/mballoc.c+7 -83 replies
2/53jbd: jbd-debug and jbd2-debug should be writablefs/jbd/journal.c fs/jbd2/journal.c+3 -20 replies
3/53ext4: replace BUG() with return -EIO in ext4_ext_get_blocksfs/ext4/extents.c+7 -10 replies
4/53ext4, jbd2: Add barriers for file systems with exernal journalsfs/ext4/fsync.c fs/jbd2/checkpoint.c fs/jbd2/commit.c +1 more+41 -100 replies
5/53ext4: Eliminate potential double free on error pathfs/ext4/xattr.c+2 -00 replies
6/53ext4: return correct wbc.nr_to_write in ext4_da_writepagesfs/ext4/inode.c+1 -20 replies
7/53ext4: Ensure zeroout blocks have no dirty metadatafs/ext4/extents.c+20 -00 replies
8/53ext4: Patch up how we claim metadata blocks for quota purposesfs/ext4/inode.c+84 -730 replies
9/53ext4: Fix accounting of reserved metadata blocksfs/ext4/inode.c+4 -40 replies
10/53ext4: Calculate metadata requirements more accuratelyfs/ext4/ext4.h fs/ext4/ext4_extents.h fs/ext4/extents.c +2 more+73 -440 replies
11/53ext4: Handle -EDQUOT error on writefs/ext4/inode.c+18 -140 replies
12/53ext4: Fix quota accounting error with fallocatefs/ext4/ext4.h fs/ext4/extents.c fs/ext4/inode.c+54 -120 replies
13/53ext4: Drop EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE flagfs/ext4/ext4.h fs/ext4/extents.c fs/ext4/inode.c+8 -110 replies
14/53ext4: Use bitops to read/modify EXT4_I(inode)->i_statefs/ext4/ext4.h fs/ext4/extents.c fs/ext4/file.c +4 more+71 -510 replies
15/53ext4: Fix BUG_ON at fs/buffer.c:652 in no journal modefs/ext4/ext4_jbd2.c fs/ext4/ialloc.c fs/ext4/inode.c +1 more+7 -70 replies
16/53ext4: Add flag to files with blocks intentionally past EOFfs/ext4/ext4.h fs/ext4/extents.c fs/ext4/inode.c +1 more+42 -40 replies
17/53ext4: Fix fencepost error in chosing choosing group vs file preallocation.fs/ext4/mballoc.c+1 -10 replies
18/53ext4: fix error handling in migratefs/ext4/migrate.c+13 -140 replies
19/53ext4: explicitly remove inode from orphan list after failed direct iofs/ext4/inode.c+3 -00 replies
20/53ext4: Handle non empty on-disk orphan linkfs/ext4/namei.c+8 -00 replies
21/53ext4: make "offset" consistent in ext4_check_dir_entry()fs/ext4/dir.c+5 -30 replies
22/53ext4: Fix insertion point of extent in mext_insert_across_blocks()fs/ext4/move_extent.c+4 -00 replies
23/53ext4: Fix the NULL reference in double_down_write_data_sem()fs/ext4/move_extent.c+0 -70 replies
24/53ext4: Code cleanup for EXT4_IOC_MOVE_EXT ioctlfs/ext4/ioctl.c fs/ext4/move_extent.c+3 -40 replies
25/53ext4: Fix estimate of # of blocks needed to write indirect-mapped filesfs/ext4/inode.c+2 -20 replies
26/53ext4: Fixed inode allocator to correctly track a flex_bg's used_dirsfs/ext4/ialloc.c+2 -20 replies
27/53ext4: Fix possible lost inode write in no journal modefs/ext4/inode.c+1 -10 replies
28/53ext4: Fix buffer head leaks after calls to ext4_get_inode_loc()fs/ext4/extents.c fs/ext4/inode.c+2 -00 replies
29/53ext4: Issue the discard operation *before* releasing the blocks to be reusedfs/ext4/mballoc.c+11 -30 replies
30/53ext4: check missed return value in ext4_sync_file()fs/ext4/fsync.c+1 -10 replies
31/53ext4: fix memory leaks in error path handling of ext4_ext_zeroout()fs/ext4/extents.c+8 -70 replies
32/53ext4: Remove unnecessary call to ext4_get_group_desc() in mballocfs/ext4/mballoc.c+0 -20 replies
33/53ext4: rename ext4_mb_release_desc() to ext4_mb_unload_buddy()fs/ext4/mballoc.c+12 -120 replies
34/53ext4: allow defrag (EXT4_IOC_MOVE_EXT) in 32bit compat modefs/ext4/ioctl.c+2 -00 replies
35/53ext4: fix quota accounting in case of fallocatefs/ext4/inode.c+2 -10 replies
36/53ext4: check s_log_groups_per_flex in online resize codefs/ext4/resize.c+2 -10 replies
37/53ext4: don't return to userspace after freezing the fs with a mutex heldfs/ext4/super.c+10 -100 replies
38/53ext4: stop issuing discards if not supported by devicefs/ext4/mballoc.c+7 -10 replies
39/53ext4: don't scan/accumulate more pages than mballoc will allocatefs/ext4/inode.c+9 -00 replies
40/53ext4: Do not zero out uninitialized extents beyond i_sizefs/ext4/extents.c+51 -160 replies
41/53ext4: clean up inode bitmaps manipulation in ext4_free_inodefs/ext4/ialloc.c+40 -470 replies
42/53ext4: init statistics after journal recoveryfs/ext4/super.c+18 -230 replies
43/53ext4: Remove extraneous newlines in ext4_msg() callsfs/ext4/inode.c fs/ext4/super.c+4 -40 replies
44/53ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocatefs/ext4/extents.c+5 -00 replies
45/53ext4: check for a good block group before loading buddy pagesfs/ext4/ext4.h fs/ext4/mballoc.c+58 -130 replies
46/53ext4: Show journal_checksum optionfs/ext4/super.c+2 -00 replies
47/53ext4: Use bitops to read/modify i_flags in struct ext4_inode_infofs/ext4/dir.c fs/ext4/ext4.h fs/ext4/ext4_jbd2.h +10 more+135 -550 replies
48/53ext4: Avoid crashing on NULL ptr dereference on a filesystem errorfs/ext4/extents.c+7 -40 replies
49/53ext4: Clear the EXT4_EOFBLOCKS_FL flag only when warrantedfs/ext4/extents.c+18 -80 replies
50/53ext4: restart ext4_ext_remove_space() after transaction restartfs/ext4/extents.c+9 -70 replies
51/53ext4: Conditionally define compat ioctl numbersfs/ext4/ext4.h+2 -00 replies
52/53ext4: Fix compat EXT4_IOC_ADD_GROUPfs/ext4/ext4.h fs/ext4/ioctl.c+39 -20 replies
53/53ext4: Make fsync sync new parent directories in no-journal modefs/ext4/ext4.h fs/ext4/fsync.c fs/ext4/namei.c+32 -20 replies

Reviews trailers per patch

5 of 53 patches have a Reviewed-by or Acked-by.

PatchAneesh Kumar K.VJan KaraDave KleikampEric SandeenChristoph Biedl
1/53
2/53R-b
3/53
4/53
5/53
6/53
7/53
8/53
9/53
10/53
11/53
12/53
13/53
14/53
15/53
16/53
17/53
18/53
19/53
20/53
21/53
22/53
23/53
24/53
25/53
26/53
27/53
28/53
29/53
30/53
31/53A-b
32/53
33/53
34/53R-b
35/53
36/53Test-case-by
37/53
38/53
39/53
40/53
41/53
42/53A-b
43/53
44/53
45/53
46/53
47/53
48/53
49/53
50/53A-b
51/53
52/53
53/53

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

Read the v1 thread