[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D0B0D91F884647D6808626CDFF81E532@nsl.ad.nec.co.jp>
Date: Fri, 26 Sep 2008 17:52:35 +0900
From: "Takashi Sato" <t-sato@...jp.nec.com>
To: "Ric Wheeler" <rwheeler@...hat.com>,
"Christoph Hellwig" <hch@...radead.org>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"Oleg Nesterov" <oleg@...sign.ru>, <linux-fsdevel@...r.kernel.org>,
<dm-devel@...hat.com>, <viro@...IV.linux.org.uk>,
<linux-ext4@...r.kernel.org>, <xfs@....sgi.com>, <axboe@...nel.dk>,
<mtk.manpages@...glemail.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] Add timeout feature
Hi,
Ric Wheeler wrote:
> Christoph Hellwig wrote:
>> On Mon, Sep 08, 2008 at 08:53:37PM +0900, Takashi Sato wrote:
>>
>>> The timeout feature is added to "freeze ioctl" to solve a deadlock
>>> when the freezer accesses a frozen filesystem. And new ioctl
>>> to reset the timeout period is added to extend the timeout period.
>>> For example, the freezer resets the timeout period to 10 seconds every 5
>>> seconds. In this approach, even if the freezer causes a deadlock by
>>> accessing the frozen filesystem, it will be solved by the timeout
>>> in 10 seconds and the freezer will be able to recognize that
>>> at the next reset of timeout period.
>>>
>>
>> And as with all previous posting I still fundamentally disagree about
>> the need of this functionality. We don't need a timeout for freezing.
>
> I agree with Christoph here, I think that the timeout is unneeded.
I think that your concern is that the freezer cannot recognize the occurrence
of a timeout and it continues the backup process and the backup data is
corrupted finally.
If the freezer can recognize it by the unfreeze ioctl's errono, will your concern
be solved?
If so, I will implement it.
Cheers, Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists