Re: [RFC] ext3 freeze feature

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Theodore Tso <tytso@...>, Takashi Sato <t-sato@...>, <linux-ext4@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Friday, January 25, 2008 - 12:34 pm

Theodore Tso wrote:

I tend to agree.  Either you need your fs frozen, or not, and if you do,
be prepared for the consequences.


What's the safety concern; that the admin will forget to unfreeze?


That's what I was thinking; can't the path to freeze_bdev just be
elevated out of dm-ioctl.c to fs/ioctl.c and exposed, such that any
filesystem which implements .write_super_lockfs can be frozen?  This is
essentially what the xfs_freeze userspace does via
xfs_ioctl/XFS_IOC_FREEZE - which, AFAIK, isn't used much now that the
lvm hooks are in place.

I'm also not sure I see the point of the timeout in the original patch;
either you are done snapshotting and ready to unfreeze, or you're not;
1, or 2, or 3 seconds doesn't really matter.  When you're done, you're
done, and you can only unfreeze then.  Shouldn't this be done
programmatically, and not with some pre-determined timeout?

-Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] ext3 freeze feature, Takashi Sato, (Fri Jan 25, 6:59 am)
Re: [RFC] ext3 freeze feature, David Chinner, (Sat Jan 26, 1:35 am)
Re: [RFC] ext3 freeze feature, David Chinner, (Sat Jan 26, 1:39 am)
Re: [RFC] ext3 freeze feature, Dmitri Monakhov, (Fri Jan 25, 8:18 am)
Re: [RFC] ext3 freeze feature, Theodore Tso, (Fri Jan 25, 9:33 am)
Re: [RFC] ext3 freeze feature, Daniel Phillips, (Thu Jan 31, 4:53 am)
Re: [RFC] ext3 freeze feature, Eric Sandeen, (Fri Jan 25, 12:34 pm)
Re: [RFC] ext3 freeze feature, Theodore Tso, (Fri Jan 25, 12:42 pm)
Re: [RFC] ext3 freeze feature, Pavel Machek, (Sat Feb 2, 9:52 am)
Re: [RFC] ext3 freeze feature, Pekka Enberg, (Fri Jan 25, 7:17 am)