From: Miklos Szeredi Subject: Re: [PATCH 3/3] Add timeout feature Date: Wed, 09 Jul 2008 10:11:01 +0200 Message-ID: References: <20080708231026.GP11558@disturbed> <20080708232031.GE18195@elf.ucw.cz> <20080709005254.GQ11558@disturbed> <20080709010922.GE9957@mit.edu> <20080709061621.GA5260@infradead.org> <20080708234120.5072111f@infradead.org> <20080709065950.GR11558@disturbed> <20080709073358.GT11558@disturbed> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: miklos@szeredi.hu, arjan@infradead.org, hch@infradead.org, tytso@mit.edu, pavel@suse.cz, t-sato@yk.jp.nec.com, akpm@linux-foundation.org, viro@ZenIV.linux.org.uk, linux-ext4@vger.kernel.org, xfs@oss.sgi.com, dm-devel@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk, mtk.manpages@googlemail.com To: david@fromorbit.com Return-path: Received: from fxip-0047f.externet.hu ([88.209.222.127]:46396 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984AbYGIIL3 (ORCPT ); Wed, 9 Jul 2008 04:11:29 -0400 In-reply-to: <20080709073358.GT11558@disturbed> (message from Dave Chinner on Wed, 9 Jul 2008 17:33:58 +1000) Sender: linux-ext4-owner@vger.kernel.org List-ID: On Wed, 9 Jul 2008, Dave Chinner wrote: > On Wed, Jul 09, 2008 at 09:13:34AM +0200, Miklos Szeredi wrote: > > On Wed, 9 Jul 2008, Dave Chinner wrote: > > > The argument against Miklos' version is that there may be multipl= e > > > commands to execute while the fs is frozen. > >=20 > > Which is what a shell is for ;) >=20 > Yeah, we=C4=BAl, with your method I ca't tell a user to: >=20 > # xfs_freeze -f /mntpt > # xfs_db -r -c 'sb 0' -c 'p rootino' /dev/foo > 128 > # xfs_db -r -c 'ino 128' -c 'p core.format' /dev/foo > core.format =3D 2 (extents) > # xfs_db ..... > ..... > # xfs_freeze -u /mntpt >=20 > i.e. using the freeze to force all metadata to disk and > prevent it from changing while doing interactive debugging > of some problem. # run_freeze /mntpt /bin/bash # ... # ^D It's the same, no? Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html