Re: [PATCH] fs: add the FIGETFROZEN ioctl call
From: Florian Margaine
Date: Fri Apr 22 2016 - 17:54:13 EST
On Tue, Apr 19, 2016 at 1:06 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>> A way to query freeze state might be nice, I think, but yeah, it's
>> racy, so you can't depend on it - but it might be useful in the "huh,
>> IO is failing, what's going on? Oh, it's frozen, ok" scenario...
>
> So maybe we should just add the frozen state to /proc/self/mountinfo
> or something similar, then people who think it matters can shoot
> themselves in the foot all they want without us needing to care
> about it.
Sorry if it's a basic question, but what is the difference between
/proc/self/mountinfo and providing an ioctl call?
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@xxxxxxxxxxxxx
Regards,
Florian