Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1445794
| From | Mark Fasheh <mfasheh@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro |
| Date | 2016-07-18 22:00 +0200 |
| Message-ID | <rWmRQ-26O-27@gated-at.bofh.it> (permalink) |
| References | <rW2T7-6rT-3@gated-at.bofh.it> |
| Organization | SUSE Labs |
On Mon, Jul 18, 2016 at 12:13:38AM +0200, Adam Borowski wrote: > Instead of checking the mode of the file descriptor, let's check whether it > could have been opened rw. This allows fixing intermittent exec failures > when deduping a live system: anyone trying to exec a file currently being > deduped gets ETXTBSY. > > Issuing this ioctl on a ro file was already allowed for root/cap. > > Tested on btrfs and not-yet-merged xfs, as only them implement this ioctl. > > Signed-off-by: Adam Borowski <kilobyte@angband.pl> Reviewed-by: Mark Fasheh <mfasheh@suse.de> --Mark -- Mark Fasheh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro Adam Borowski <kilobyte@angband.pl> - 2016-07-18 00:40 +0200 Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro Adam Borowski <kilobyte@angband.pl> - 2016-07-18 00:40 +0200 Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro Mark Fasheh <mfasheh@suse.de> - 2016-07-18 22:00 +0200 Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro "Darrick J. Wong" <darrick.wong@oracle.com> - 2016-07-19 04:50 +0200
csiph-web