From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Meyering Subject: Re: [PATCH 1/3] tmpfs: revert SEEK_DATA and SEEK_HOLE Date: Tue, 31 Jul 2012 16:42:58 +0200 Message-ID: <871ujsxa8d.fsf@rho.meyering.net> References: <877gtkxatx.fsf@rho.meyering.net> Mime-Version: 1.0 Content-Type: text/plain Cc: Hugh Dickins To: linux-fsdevel@vger.kernel.org Return-path: Received: from smtp5-g21.free.fr ([212.27.42.5]:60630 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395Ab2GaOnG (ORCPT ); Tue, 31 Jul 2012 10:43:06 -0400 Received: from mx.meyering.net (unknown [88.168.87.75]) by smtp5-g21.free.fr (Postfix) with ESMTP id 7F8D8D480AD for ; Tue, 31 Jul 2012 16:42:59 +0200 (CEST) In-Reply-To: <877gtkxatx.fsf@rho.meyering.net> (Jim Meyering's message of "Tue, 31 Jul 2012 16:30:02 +0200") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Jim Meyering wrote: > Hugh Dickins wrote: >> On Thu, 12 Jul 2012, Jeff Liu wrote: >> > On 07/12/2012 07:01 AM, Dave Chinner wrote: >> > > On Wed, Jul 11, 2012 at 11:55:34AM -0700, Hugh Dickins wrote: >> > >> >> > >> But your vote would count for a lot more if you know of some app which >> > >> would really benefit from this functionality in tmpfs: I've heard >> > >> of none. > ... > [Jeff mentioned "cp"] > > grep is another tool that would benefit. > I often put very large files (often sparse, too) on tmpfs file systems > and would like "grep -r PAT /tmp" to work well in spite of those files. > > Please consider restoring SEEK_HOLE/SEEK_DATA support for tmpfs. Also, lseek's SEEK_HOLE/SEEK_DATA support is slated to be required by POSIX 2008: http://austingroupbugs.net/view.php?id=415