| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 4/4] fs: Disallow all fallocate operation on active swapfile |
| From: | Lukáš Czerner <lczerner@xxxxxxxxxx> |
| Date: | Tue, 15 Apr 2014 15:19:47 +0200 (CEST) |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, ceph-devel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20140412152225.GC18047@xxxxxxxxxxxxx> |
| References: | <1397242665-2183-1-git-send-email-lczerner@xxxxxxxxxx> <1397242665-2183-4-git-send-email-lczerner@xxxxxxxxxx> <20140412152225.GC18047@xxxxxxxxxxxxx> |
| User-agent: | Alpine 2.00 (LFD 1167 2008-08-23) |
On Sat, 12 Apr 2014, Christoph Hellwig wrote: > Date: Sat, 12 Apr 2014 08:22:25 -0700 > From: Christoph Hellwig <hch@xxxxxxxxxxxxx> > To: Lukas Czerner <lczerner@xxxxxxxxxx> > Cc: linux-fsdevel@xxxxxxxxxxxxxxx, ceph-devel@xxxxxxxxxxxxxxx, > linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx > 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/4] fs: Remove i_size check from do_fallocate, Lukáš Czerner |
|---|---|
| Next by Date: | Re: [PATCH 2/4] fs: Prevent doing FALLOC_FL_ZERO_RANGE on append only file, Lukáš Czerner |
| Previous by Thread: | Re: [PATCH 4/4] fs: Disallow all fallocate operation on active swapfile, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 1/4] ext4: Remove unnecessary check for APPEND and IMMUTABLE, Theodore Ts'o |
| Indexes: | [Date] [Thread] [Top] [All Lists] |