Skip to content

ext4: Cleanup read-only and fs aborted checks

Jan Kara linux-ext4 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11ext4: Remove pointless sb_rdonly() checks from freezing codefs/ext4/super.c+2 -70 replies
2/11ext4: Use sb_rdonly() helper for checking read-only flagfs/ext4/super.c+2 -20 replies
3/11ext4: Make ext4_forced_shutdown() take struct super_blockfs/ext4/ext4.h fs/ext4/ext4_jbd2.c fs/ext4/file.c +9 more+37 -380 replies
4/11ext4: Make 'abort' mount option handling standardfs/ext4/ext4.h fs/ext4/super.c+3 -140 replies
5/11ext4: Drop EXT4_MF_FS_ABORTED flagfs/ext4/ext4.h fs/ext4/fsync.c fs/ext4/inode.c +2 more+10 -140 replies
6/11ext4: Avoid starting transaction on read-only fs in ext4_quota_off()fs/ext4/super.c+7 -00 replies
7/11ext4: Warn on read-only filesystem in ext4_journal_check_start()fs/ext4/ext4_jbd2.c+2 -10 replies
8/11ext4: Drop read-only check in ext4_init_inode_table()fs/ext4/ialloc.c+0 -60 replies
9/11ext4: Drop read-only check in ext4_write_inode()fs/ext4/inode.c+1 -20 replies
10/11ext4: Drop read-only check from ext4_force_commit()fs/ext4/super.c+1 -70 replies
11/11ext4: Replace read-only check for shutdown check in mmp codefs/ext4/mmp.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11] ext4: Cleanup read-only and fs aborted checks

Hello,

This series arised from me trying to fix races when the ext4 filesystem gets remounted read-write and users can race in writes before quota subsystem is prepared to take them. This particular problem got fixed in VFS in the end but the cleanups are still good in my opinion so I'm submitting them. They get rid of EXT4_MF_ABORTED flag and cleanup some sb_rdonly() checks.

Honza