Thread (8 messages) 8 messages, 4 authors, 2021-05-10

Re: [PATCH] e2fsprogs: Try again to solve unreliable io case

From: Zhiqiang Liu <hidden>
Date: 2021-04-23 02:18:22

On 2021/4/21 0:19, Theodore Ts'o wrote:
On Tue, Apr 20, 2021 at 03:18:05PM +0800, Haotian Li wrote:
quoted
If some I/O error occured during e2fsck, for example the
fibre channel connections are flasky, the e2fsck may exit.
Try again in these I/O error cases may help e2fsck
successfully execute and fix the disk correctly.
Why not fix this by retrying in the device driver instead?  If the
Fibre Channel is that flaky, then it's going to be a problem when the
file system is mounted, so it would seem to me that fixing this in the
kernel makes a lot more sense.

    	   	       	    - Ted
Thanks for your reply.
Actually, we have met the problem in ipsan situation.
When exec 'fsck -a <remote-device>', short-term fluctuations or
abnormalities may occur on the network. Despite the driver has
do the best effort, some IO errors may occur. So add retrying in
e2fsprogs can further improve the reliability of the repair
process.

Regards
Zhiqiang Liu
.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help