[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [PATCH 3/3] Add timeout feature
- From: Dave Chinner <david fromorbit com>
- To: Miklos Szeredi <miklos szeredi hu>
- Cc: axboe kernel dk, t-sato yk jp nec com, tytso mit edu, mtk manpages googlemail com, linux-kernel vger kernel org, dm-devel redhat com, xfs oss sgi com, hch infradead org, pavel suse cz, viro ZenIV linux org uk, linux-fsdevel vger kernel org, akpm linux-foundation org, linux-ext4 vger kernel org, arjan infradead org
- Subject: [dm-devel] Re: [PATCH 3/3] Add timeout feature
- Date: Wed, 9 Jul 2008 17:33:58 +1000
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 multiple
> > commands to execute while the fs is frozen.
>
> Which is what a shell is for ;)
Yeah, weĺl, with your method I ca't tell a user to:
# 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 = 2 (extents)
# xfs_db .....
.....
# xfs_freeze -u /mntpt
i.e. using the freeze to force all metadata to disk and
prevent it from changing while doing interactive debugging
of some problem.
Yes, a one-shot freeze/unfreeze mechanism works for some
use cases. The point is that it does not work for them all.....
Cheers,
Dave.
--
Dave Chinner
david fromorbit com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]