diff options
| author | Ye Bin <[email protected]> | 2023-03-07 06:17:02 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-03-11 05:44:24 +0000 |
| commit | eee00237fa5ec8f704f7323b54e48cc34e2d9168 (patch) | |
| tree | 445ade12ba330e6df21f9f05d41ce42c5aeebdf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | ext4, jbd2: add an optimized bmap for the journal inode (diff) | |
| download | kernel-eee00237fa5ec8f704f7323b54e48cc34e2d9168.tar.gz kernel-eee00237fa5ec8f704f7323b54e48cc34e2d9168.zip | |
ext4: commit super block if fs record error when journal record without error
Now, 'es->s_state' maybe covered by recover journal. And journal errno
maybe not recorded in journal sb as IO error. ext4_update_super() only
update error information when 'sbi->s_add_error_count' large than zero.
Then 'EXT4_ERROR_FS' flag maybe lost.
To solve above issue just recover 'es->s_state' error flag after journal
replay like error info.
Signed-off-by: Ye Bin <[email protected]>
Reviewed-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
