fsfreeze: check ioctls
Get series with b4
b4 am 1311215535.2763.20.camel@nausicaaVersions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fsfreeze: add FIISFROZEN ioctlfs/ fs/ fs/ +1 more | +24 | 0 replies | |
| 2/2 | fsfreeze: add BLKISFROZEN ioctlblock/ block/ fs/ +1 more | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fsfreeze: check ioctls
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.