2023-03-30 07:04:20

by zhanchengbin

[permalink] [raw]
Subject: [PATCH v2 0/2] Add some msg for io error

If there is an EIO during the process of fsck, the user can be notified of it.

Diff v2 Vs v1:
1) Optimize printing information
2) Remove the interaction after fsync failed and return an error.
3) Rearrange the patch sets.

zhanchengbin (2):
lib/ext2fs: add error handle in unix_flush and unix_write_byte
e2fsck: add sync error handle to e2fsck.

e2fsck/ehandler.c | 22 ++++++++++++++++++++++
lib/ext2fs/ext2_io.h | 2 ++
lib/ext2fs/unix_io.c | 37 ++++++++++++++++++++++++++-----------
3 files changed, 50 insertions(+), 11 deletions(-)

--
2.31.1