From: OGAWA Hirofumi Subject: Re: ftruncate-mmap: pages are lost after writing to mmaped file. Date: Wed, 25 Mar 2009 05:14:34 +0900 Message-ID: <873ad2znit.fsf@devron.myhome.or.jp> References: <604427e00903181244w360c5519k9179d5c3e5cd6ab3@mail.gmail.com> <20090324125510.GA9434@duck.suse.cz> <20090324132637.GA14607@duck.suse.cz> <200903250130.02485.nickpiggin@yahoo.com.au> <20090324144709.GF23439@duck.suse.cz> <1237906563.24918.184.camel@twins> <20090324152959.GG23439@duck.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Peter Zijlstra , Nick Piggin , "Martin J. Bligh" , linux-ext4@vger.kernel.org, Ying Han , Linus Torvalds , Andrew Morton , linux-kernel , linux-mm , guichaz@gmail.com, Alex Khesin , Mike Waychison , Rohit Seth To: Jan Kara Return-path: In-Reply-To: <20090324152959.GG23439@duck.suse.cz> (Jan Kara's message of "Tue, 24 Mar 2009 16:29:59 +0100") Sender: owner-linux-mm@kvack.org List-Id: linux-ext4.vger.kernel.org Jan Kara writes: > BTW: Note that there's a plenty of filesystems that don't implement > mkwrite() (e.g. ext2, UDF, VFAT...) and thus have the same problem with > ENOSPC. So I'd not speak too much about consistency ;). FWIW, fatfs doesn't allow sparse file (mmap the non-allocated region), so I guess there is no problem. -- OGAWA Hirofumi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org