linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fix extents need to be restored in some cases
@ 2023-01-10 13:34 zhanchengbin
  2023-01-10 13:34 ` [PATCH 1/2] ext4: fix inode tree inconsistency caused by ENOMEM in ext4_split_extent_at zhanchengbin
  2023-01-10 13:34 ` [PATCH 2/2] ext4: call ext4_handle_error when read extent failed in ext4_ext_insert_extent zhanchengbin
  0 siblings, 2 replies; 5+ messages in thread
From: zhanchengbin @ 2023-01-10 13:34 UTC (permalink / raw)
  To: tytso, jack; +Cc: linux-ext4, yi.zhang, linfeilong, liuzhiqiang26, zhanchengbin

According to the return value of the ext4 split extent at
function, it is distinguished whether to restore the split
extent. If the file consistency is not affected or mount
for `errors=continue`, we need to restore the len of the
split extent. 

zhanchengbin (2):
  ext4: fix inode tree inconsistency caused by ENOMEM in
    ext4_split_extent_at
  ext4: call ext4_handle_error when read extent failed in
    ext4_ext_insert_extent

 fs/ext4/extents.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-21 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-10 13:34 [PATCH 0/2] fix extents need to be restored in some cases zhanchengbin
2023-01-10 13:34 ` [PATCH 1/2] ext4: fix inode tree inconsistency caused by ENOMEM in ext4_split_extent_at zhanchengbin
2023-01-10 13:34 ` [PATCH 2/2] ext4: call ext4_handle_error when read extent failed in ext4_ext_insert_extent zhanchengbin
2023-01-11 10:26   ` Jan Kara
2023-01-21 16:07   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).