linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fsfreeze: check ioctls
@ 2011-07-21  2:32 Fernando Luis Vazquez Cao
  2011-07-21  2:36 ` [PATCH 1/2] fsfreeze: add FIISFROZEN ioctl Fernando Luis Vazquez Cao
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Fernando Luis Vazquez Cao @ 2011-07-21  2:32 UTC (permalink / raw)
  To: Al Viro; +Cc: Christoph Hellwig, Eric Sandeen, Josef Bacik, linux-fsdevel

The current fsfreeze API lacks a method to check the current freeze
status of a superblock. One might be tempted to think that a new vfs
ioctl is all we need, but with the current implemetation of fsfreeze it
it is possible to umount a freezed filesystem, which means that the only
way to check the freeze status is through the block device. For a moment
I thought I could get without the vfs version but then I realized that
the block device ioctl would not play well with btrfs.

Because of all of the above I ended up implementing both. Al also
suggested [1] a thaw-by-block-device ioctl which I am currently working
on.

[1] http://marc.info/?l=linux-kernel&m=125361768208298&w=2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-27  7:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21  2:32 [PATCH 0/2] fsfreeze: check ioctls Fernando Luis Vazquez Cao
2011-07-21  2:36 ` [PATCH 1/2] fsfreeze: add FIISFROZEN ioctl Fernando Luis Vazquez Cao
2011-07-21  2:41 ` [PATCH 2/2] fsfreeze: add BLKISFROZEN ioctl Fernando Luis Vazquez Cao
2011-07-27  7:30 ` [RFC][PATCH 0/4] fsfreeze: new API Fernando Luis Vazquez Cao
2011-07-27  7:32   ` [PATCH 1/4] fsfreeze: add vfs ioctl to check freeze state Fernando Luis Vazquez Cao
2011-07-27  7:34   ` [PATCH 2/4] fsfreeze: add block device " Fernando Luis Vazquez Cao
2011-07-27  7:35   ` [PATCH 3/4] fsfreeze: add ioctl to create a fd for freeze control Fernando Luis Vazquez Cao
2011-07-27  7:36   ` [PATCH 4/4] fsfreeze: add freeze fd ioctls Fernando Luis Vazquez Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).