[PATCH 4/4] fs: Disallow all fallocate operation on active swapfile
Lukáš Czerner
lczerner at redhat.com
Tue Apr 15 08:19:47 CDT 2014
On Sat, 12 Apr 2014, Christoph Hellwig wrote:
> Date: Sat, 12 Apr 2014 08:22:25 -0700
> From: Christoph Hellwig <hch at infradead.org>
> To: Lukas Czerner <lczerner at redhat.com>
> Cc: linux-fsdevel at vger.kernel.org, ceph-devel at vger.kernel.org,
> linux-ext4 at vger.kernel.org, xfs at oss.sgi.com
> Subject: Re: [PATCH 4/4] fs: Disallow all fallocate operation on active
> swapfile
>
> Given that the earlier patches were about races - what protects us
> from swapon racing with the check outside the filesystem locks?
>
That would be fairies :) This patch is obviously wrong so I'll drop
it and try to think about better way of dealing with this.
Thanks!
-Lukas
More information about the xfs
mailing list