xfs
[Top] [All Lists]

Re: [PATCH 4/4] fs: Disallow all fallocate operation on active swapfile

To: Lukas Czerner <lczerner@xxxxxxxxxx>
Subject: Re: [PATCH 4/4] fs: Disallow all fallocate operation on active swapfile
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 12 Apr 2014 08:22:25 -0700
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, ceph-devel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1397242665-2183-4-git-send-email-lczerner@xxxxxxxxxx>
References: <1397242665-2183-1-git-send-email-lczerner@xxxxxxxxxx> <1397242665-2183-4-git-send-email-lczerner@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
Given that the earlier patches were about races - what protects us
from swapon racing with the check outside the filesystem locks?

<Prev in Thread] Current Thread [Next in Thread>