From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunil Mushran Subject: Re: [PATCH 1/2] fs: add SEEK_HOLE and SEEK_DATA flags Date: Fri, 22 Apr 2011 13:49:24 -0700 Message-ID: <4DB1E9D4.3080107@oracle.com> References: <1303414954-3315-1-git-send-email-josef@redhat.com> <20110422200945.GA15387@elie> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Josef Bacik , linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org To: Jonathan Nieder Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:58253 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752692Ab1DVUte (ORCPT ); Fri, 22 Apr 2011 16:49:34 -0400 In-Reply-To: <20110422200945.GA15387@elie> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 04/22/2011 01:10 PM, Jonathan Nieder wrote: > Hi, > > Josef Bacik wrote: > >> This just gets us ready to support the SEEK_HOLE and SEEK_DATA flags. Turns out >> using fiemap in things like cp cause more problems than it solves, so lets try >> and give userspace an interface that doesn't suck. So we have > That's easy to believe, but could you elaborate? What problem does > using fiemap cause? I assume the answer is somewhere in somewhere in > the thread > > http://thread.gmane.org/gmane.comp.file-systems.xfs.general/37895/focus=24404 > > but it would be nice to have a summary in the commit log for > posterity. http://article.gmane.org/gmane.comp.file-systems.ext4/24465