Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4904759ybv; Wed, 26 Feb 2020 05:06:25 -0800 (PST) X-Google-Smtp-Source: APXvYqx4tRXdU7+b0VL7s287cl+co26BMcFSWDyH+5IFQvgQtlr1P8pNEfMUyGrgAP8N+eYZPh2R X-Received: by 2002:a9d:7593:: with SMTP id s19mr2780728otk.219.1582722385559; Wed, 26 Feb 2020 05:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582722385; cv=none; d=google.com; s=arc-20160816; b=czwGfiRcwiXKV0GULuEGOz6A7i3CINyMYkX0L6NnimjWfRAyyCDQYzM8u8a7uv2b+W NQxHmE+UWaX+CznOFjwXFT8TOJlfw0Xh5IdiU2JV7D6II1Lh2WHPVXXuFEyRujbJk2v1 iF+aF5jaYGOZ0KSpsUsGuLgDCTVfGNWxZsc9XI0q8pSGGiHli4TnuQxN8nY3V4S9/56D OD34X09xuUGtMOsV/YnGCcirFDU+UoLLdpu4sibP/JfLE9vDYDyrvFmTZuBUBzv5vnLi XgAVaolpz0bzm3WhI1gSPJmirYVlRCZTtEkAt/jmEay4Ssg9+atFI4BuyuDayYGoc5jw 8wlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YWIvxqR0O64iCW+32RSdIg/0pnbQba367tq67f6Dqzw=; b=vW+3vbT/ytga58Z3OSJ2VtrCj7xxOMojVrCiXiP8IIY4TxUf3hxbbxe6sfxTpetQiJ 17/vsXtpeoWgS5mitZlrIXRzkOkwwAZE+0IgMM/ZINvGQ5WWBGF9rdbf2guDX1udcEsX xXzmRfaHo9fbWyIQvq5CHWcWPb69P4iefcWjLAvAz22YlthPq/rKsDIC2oEhQfQ/XKp0 IX4wOmPKdoDxc3Qo4szykfIK9GU6hwilHms33RZZZkMEzS0g8eE+7Q9AFac3InAfA67e 2aC3T9GEpJeBpst1vLYLPThgDAHZxAnZIp9nh3GD0Be5VVv+/UryA1WG8xKtP3REA3UP SKnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Mpa4FPkN; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si1204045otm.47.2020.02.26.05.05.53; Wed, 26 Feb 2020 05:06:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Mpa4FPkN; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727335AbgBZNFG (ORCPT + 99 others); Wed, 26 Feb 2020 08:05:06 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:44092 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbgBZNFF (ORCPT ); Wed, 26 Feb 2020 08:05:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YWIvxqR0O64iCW+32RSdIg/0pnbQba367tq67f6Dqzw=; b=Mpa4FPkNfAILKJDnTcy/rhSkdm cFSHlvDUtzPkU0Rlb+MOZNtS1ck1IKFYswb00odKVY/8FGc+d4/1zmp20ideLYyEoGEm+f/R1yoTK IxSYDKG+Ti+QUv7+8BzoB1nsOcrkOG1TtO4yfOxqBYwohCirhUQP8QFpOfJxJw5wfX84tacjfak1+ kU7YMXMQQUMGeYV7N6JFbkTpitay+gzPXVUvZwHwytX4uMTk0HzAPHeSbyI5wM3sxn09pMzLfaDfH zKxBXghYvS2pPJJXGKeJp0+VQaIBCMIWRzl1PNxMMdr0t02ctFarpk1yfuqMkf/vOzt400DqE70bw ir+zQPRw==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6wN5-0002AC-8T; Wed, 26 Feb 2020 13:05:03 +0000 Date: Wed, 26 Feb 2020 05:05:03 -0800 From: Matthew Wilcox To: Ritesh Harjani Cc: jack@suse.cz, tytso@mit.edu, linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca, linux-fsdevel@vger.kernel.org, darrick.wong@oracle.com, hch@infradead.org, cmaiolino@redhat.com Subject: Re: [PATCHv3 6/6] Documentation: Correct the description of FIEMAP_EXTENT_LAST Message-ID: <20200226130503.GY24185@bombadil.infradead.org> References: <279638c6939b1f6ef3ab32912cb51da1a967cf8e.1582702694.git.riteshh@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <279638c6939b1f6ef3ab32912cb51da1a967cf8e.1582702694.git.riteshh@linux.ibm.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Feb 26, 2020 at 03:27:08PM +0530, Ritesh Harjani wrote: > Currently FIEMAP_EXTENT_LAST is not working consistently across > different filesystem's fiemap implementations and thus this feature > may be broken. So fix the documentation about this flag to meet the > right expectations. Are you saying filesystems have both false positives and false negatives? I can understand how a filesystem might fail to set FIEMAP_EXTENT_LAST, but not how a filesystem might set it when there's actually another extent beyond this one. > * FIEMAP_EXTENT_LAST > -This is the last extent in the file. A mapping attempt past this > -extent will return nothing. > +This is generally the last extent in the file. A mapping attempt past this > +extent may return nothing. But the user must still confirm by trying to map > +past this extent, since different filesystems implement this differently.