Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379393

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

From Mateusz Guzik <mguzik@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] fs: add the FIGETFROZEN ioctl call
Date 2016-04-15 03:00 +0200
Message-ID <ro0h4-2BJ-7@gated-at.bofh.it> (permalink)
References <rnKlY-6Jd-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote:
> This lets userland get the filesystem freezing status, aka whether the
> filesystem is frozen or not. This is so that an application can know if
> it should freeze the filesystem or if it isn't necessary when taking a
> snapshot.

The feature may be useful in general, I don't know.

However, I'm confused why programs would depend on it. If you froze
a particular subsystem, you don't have to check. If you did not, what
prevents whoever originaly froze it from unfreezing as you access it?

As such, maybe the feature you are looking for would count how many
times the fs is frozen.

-- 
Mateusz Guzik

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] fs: add the FIGETFROZEN ioctl call Florian Margaine <florian@margaine.com> - 2016-04-14 10:00 +0200
  Re: [PATCH] fs: add the FIGETFROZEN ioctl call Florian Margaine <florian@margaine.com> - 2016-04-14 10:10 +0200
  Re: [PATCH] fs: add the FIGETFROZEN ioctl call Mateusz Guzik <mguzik@redhat.com> - 2016-04-15 03:00 +0200
  Re: [PATCH] fs: add the FIGETFROZEN ioctl call Dave Chinner <david@fromorbit.com> - 2016-04-15 04:30 +0200

csiph-web