xfs
[Top] [All Lists]

Re: [PATCH 3/3] Add timeout feature

To: Arjan van de Ven <arjan@xxxxxxxxxxxxx>, Miklos Szeredi <miklos@xxxxxxxxxx>, hch@xxxxxxxxxxxxx, pavel@xxxxxxx, t-sato@xxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, axboe@xxxxxxxxx, mtk.manpages@xxxxxxxxxxxxxx
Subject: Re: [PATCH 3/3] Add timeout feature
From: Theodore Tso <tytso@xxxxxxx>
Date: Wed, 9 Jul 2008 08:24:01 -0400
In-reply-to: <20080709114958.GV11558@disturbed>
Mail-followup-to: Theodore Tso <tytso@xxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx>, Miklos Szeredi <miklos@xxxxxxxxxx>, hch@xxxxxxxxxxxxx, pavel@xxxxxxx, t-sato@xxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, axboe@xxxxxxxxx, mtk.manpages@xxxxxxxxxxxxxx
References: <20080709010922.GE9957@xxxxxxx> <E1KGSvZ-0006dB-53@xxxxxxxxxxxxxxxxxxx> <20080709061621.GA5260@xxxxxxxxxxxxx> <E1KGT4q-0006fD-Jb@xxxxxxxxxxxxxxxxxxx> <20080708234120.5072111f@xxxxxxxxxxxxx> <E1KGTTm-0006ke-Jh@xxxxxxxxxxxxxxxxxxx> <20080708235502.1c52a586@xxxxxxxxxxxxx> <20080709071346.GS11558@disturbed> <20080709110900.GI9957@xxxxxxx> <20080709114958.GV11558@disturbed>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Wed, Jul 09, 2008 at 09:49:58PM +1000, Dave Chinner wrote:
> (e) none of the above.  The kernel compilation will appear to pause
> until the filesystem is unfrozen. No other visible effect should
> occur. It will get blocked in a write or filesystem transaction
> because the fs is frozen.

So if the process which froze the filesystem accidentally tries
writing to a log file (or database file containing the backup
information, or whatever) that happens to be on the filesystem that is
frozen, that process will get blocked and you end up in a deadlock;
did I get that right?

                                                - Ted


<Prev in Thread] Current Thread [Next in Thread>