Re: [PATCH v2 0/7] ext4: correct behaviors under errors=remount-ro mode
From: Theodore Ts'o
Date: Mon Mar 17 2025 - 23:43:02 EST
On Wed, 22 Jan 2025 19:41:23 +0800, libaokun@xxxxxxxxxxxxxxx wrote:
> Changes since v1:
> * Patch 1,2: Add comma after the last enum member.
> * Patch 3: Rename ext4_is_emergency() to ext4_emergency_state().
> * Patch 4: Instead of adding an ext4_sb_rdonly() helper, add additional
> ext4_emergency_state() checks.
> * Patch 5: Replace sb_rdonly() with ext4_emergency_ro() in
> ext4_handle_error() and keep the SB_RDONLY comments.
> * Collect RVB from Jan Kara and Zhang Yi.(Thanks for your review!)
> * Rebased on link[2] to avoid context conflicts with Patch 3.
> (ext4_forced_shutdown() -> ext4_emergency_state() in ext4_end_io_end()).
>
> [...]
Applied, thanks!
[1/7] ext4: convert EXT4_FLAGS_* defines to enum
commit: 99708f8a9d30081a71638d6f4e216350a4340cc3
[2/7] ext4: add EXT4_FLAGS_EMERGENCY_RO bit
commit: f3054e53c2f367bd3cf6535afe9ab13198d2d739
[3/7] ext4: add ext4_emergency_state() helper function
commit: 0a1b2f5ea98764221ccc1043b8dc27a8c0225476
[4/7] ext4: add more ext4_emergency_state() checks around sb_rdonly()
commit: 5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1
[5/7] ext4: correct behavior under errors=remount-ro mode
commit: 8f984530c242c569bafecfa35bce969a9b8fb0dd
[6/7] ext4: show 'emergency_ro' when EXT4_FLAGS_EMERGENCY_RO is set
commit: 6b76715d5e41fc332b0b879e66fad6ef3db07a3f
[7/7] ext4: show 'shutdown' hint when ext4 is forced to shutdown
commit: 5855c3519463e9ac4d10424bb49953047a04c602
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>