[Devel] [PATCH rh7 0/4] ext4: more error hanglings (ports from mainstream)

Kirill Tkhai ktkhai at virtuozzo.com
Wed Feb 3 18:22:20 MSK 2021


On 03.02.2021 17:45, Konstantin Khorenko wrote:
> Just potentially useful mainstream patches which can prevent fs
> corruptions due to proper error handlings.
> 
> Harshad Shirwadkar (1):
>   ms/ext4: handle ext4_mark_inode_dirty errors
> 
> Theodore Ts'o (3):
>   ms/ext4: allow ext4_truncate() to return an error
>   ms/ext4: allow ext4_ext_truncate() to return an error
>   ms/ext4: propagate error values from ext4_inline_data_truncate()

>From MPOV we need all of them.
 
>  fs/ext4/acl.c       |  4 +-
>  fs/ext4/ext4.h      |  8 ++--
>  fs/ext4/ext4_jbd2.h |  5 ++-
>  fs/ext4/extents.c   | 49 ++++++++++++++-----------
>  fs/ext4/indirect.c  |  4 +-
>  fs/ext4/inline.c    | 46 +++++++++++++----------
>  fs/ext4/inode.c     | 89 ++++++++++++++++++++++++++++++---------------
>  fs/ext4/ioctl.c     |  7 +++-
>  fs/ext4/migrate.c   | 12 ++++--
>  fs/ext4/namei.c     | 78 +++++++++++++++++++++++++--------------
>  fs/ext4/super.c     | 22 +++++++----
>  11 files changed, 204 insertions(+), 120 deletions(-)
> 



More information about the Devel mailing list