From: Dave Chinner Subject: Re: [PATCH RESEND 3/10] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate Date: Tue, 18 Feb 2014 20:46:44 +1100 Message-ID: <20140218094644.GD28666@dastard> References: <1391319874-3203-1-git-send-email-linkinjeon@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: Namjae Jeon , tytso@mit.edu, Namjae Jeon , linux-kernel@vger.kernel.org, xfs@oss.sgi.com, bpm@sgi.com, adilger.kernel@dilger.ca, viro@zeniv.linux.org.uk, Ashish Sangwan , linux-fsdevel@vger.kernel.org, jack@suse.cz, linux-ext4@vger.kernel.org, mtk.manpages@gmail.com To: =?utf-8?B?THVrw6HFoQ==?= Czerner Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com List-Id: linux-ext4.vger.kernel.org T24gVHVlLCBGZWIgMTgsIDIwMTQgYXQgMTA6MDU6NDlBTSArMDEwMCwgTHVrw6HFoSBDemVybmVy IHdyb3RlOgo+IE9uIFdlZCwgMTIgRmViIDIwMTQsIE5hbWphZSBKZW9uIHdyb3RlOgo+IAo+ID4g RGF0ZTogV2VkLCAxMiBGZWIgMjAxNCAxMToyODozNSArMDkwMAo+ID4gRnJvbTogTmFtamFlIEpl b24gPGxpbmtpbmplb25AZ21haWwuY29tPgo+ID4gVG86IEx1a8OhxaEgQ3plcm5lciA8bGN6ZXJu ZXJAcmVkaGF0LmNvbT4KPiA+IENjOiB2aXJvQHplbml2LmxpbnV4Lm9yZy51aywgZGF2aWRAZnJv bW9yYml0LmNvbSwgYnBtQHNnaS5jb20sIHR5dHNvQG1pdC5lZHUsCj4gPiAgICAgYWRpbGdlci5r ZXJuZWxAZGlsZ2VyLmNhLCBqYWNrQHN1c2UuY3osIG10ay5tYW5wYWdlc0BnbWFpbC5jb20sCj4g PiAgICAgbGlud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