[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c1eb6441-9081-530c-63d8-1987048b2011@huawei.com>
Date: Fri, 23 Apr 2021 10:18:09 +0800
From: Zhiqiang Liu <liuzhiqiang26@...wei.com>
To: Theodore Ts'o <tytso@....edu>, Haotian Li <lihaotian9@...wei.com>
CC: Ext4 Developers List <linux-ext4@...r.kernel.org>,
"harshad shirwadkar," <harshadshirwadkar@...il.com>,
linfeilong <linfeilong@...wei.com>
Subject: Re: [PATCH] e2fsprogs: Try again to solve unreliable io case
On 2021/4/21 0:19, Theodore Ts'o wrote:
> On Tue, Apr 20, 2021 at 03:18:05PM +0800, Haotian Li wrote:
>> 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
> .
>
Powered by blists - more mailing lists