From mboxrd@z Thu Jan 1 00:00:00 1970 From: Namjae Jeon Subject: RE: [PATCH v8 1/4] fat: add fat_fallocate operation Date: Wed, 10 Dec 2014 21:10:08 +0900 Message-ID: <003f01d01472$3d5089e0$b7f19da0$@samsung.com> References: <001601d01380$2009d000$601d7000$@samsung.com> <003d01d01465$f719f3f0$e54ddbd0$@samsung.com> <20141210104524.GA865@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 'Luk?? Czerner' , 'OGAWA Hirofumi' , 'Andrew Morton' , linux-fsdevel@vger.kernel.org To: 'Christoph Hellwig' Return-path: Received: from mailout1.samsung.com ([203.254.224.24]:45355 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbaLJMKL (ORCPT ); Wed, 10 Dec 2014 07:10:11 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGD00KUU8GW58B0@mailout1.samsung.com> for linux-fsdevel@vger.kernel.org; Wed, 10 Dec 2014 21:10:08 +0900 (KST) In-reply-to: <20141210104524.GA865@infradead.org> Content-language: ko Sender: linux-fsdevel-owner@vger.kernel.org List-ID: > > On Wed, Dec 10, 2014 at 07:42:16PM +0900, Namjae Jeon wrote: > > User have to call fallocate again if opening file after close(). > > And fallocate() will skip allocation if fallocated blocks is avaiable. > > Instead, It gurrantee to be available fallocated blocks between open > > and close(). And I updated such limitation of fat fallocate in > > Documentation. > > Documentation doesn't help, this breaks application exposed semantics. > > If you think there is a use case for non-persistant preallocations > please propose a new fallocate flag for it, or given the lack of use > case probably just add a fat specific ioctl instead. Hi Christoph, Yes, There are use cases from me and samba team also. And it is fat's specific limitation. so looks better to add ioctl. Thanks.