Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp33252ybf; Wed, 26 Feb 2020 08:20:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyTt+n6Xa3oWgjIVfpuz/DQHyskKCCBW98711YwBAnN6uyaZL1r9uDsTM4dKBDDOi3v5m70 X-Received: by 2002:aca:4a84:: with SMTP id x126mr3531415oia.99.1582734015067; Wed, 26 Feb 2020 08:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582734015; cv=none; d=google.com; s=arc-20160816; b=0bR7Hg8DTgYz0KF2yNShM1X8aKU+Ntyp23WZlr6QDjrAU/aXX70eiOw9OEh6C03HGe RPahfkHzrglwfYdfd/kNEJLSSqyW8SQ3x+VucATZstlFHGLd7Mi7NtFy/rHOAcWBoBwE U569aWQbJEbkBHbP83HQQctnflUubA/QFcR4y/xIDV+P/OHEGPdFvoJRYGZ4XfH24V/w syqHFgDDBgTYD/G4Hwt+HSHi4IkegixLTpVysmLmim2inhMJFod5NlXWGrgJG/3vzCUc v0U4nmLsgTNO/G1Lrx4KLXfDWStkdjHNIm4XSnNcatpPW3iXpE1xG4hqgOOvIzJvkXkM x3Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WKDZDiIYwkHJ2rTuDV4wlnpR6BBfh5Fu3+ipePDTfXQ=; b=kjNVdMfbgXQw5n0sKBDVoiLowj6XxOegMR2bcoznjrMjFjI4pkXKhs4GECdsyPBnZD j149H5HhIf9srbXDQu6eSNuTlwqSh7UymaL8MxnM2tmpHp0Uikji+HfELbrpBFSYJQjo E8dZk2+8FzSpAb8aIRQnz4Jz5QyW8BxwZJMnoSuGPELA4t+wfhBk5igqgIgZa4V3vATo /2J20mnFjIq3DbTNpomx2POliN1p7bSht59RqC7+0VHIm3J/nirvXZtv5bPM3hHBlONr /h36Ggkn2VAoBdXXS/Q/mIqToeX5Y1fQ2iNsmRJJ1xTqQzpE34hEHghrU/BADkpXAEiU 3AdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=zCYArvRa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si22648otg.179.2020.02.26.08.20.03; Wed, 26 Feb 2020 08:20:15 -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=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=zCYArvRa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbgBZQR6 (ORCPT + 99 others); Wed, 26 Feb 2020 11:17:58 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:42252 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgBZQR6 (ORCPT ); Wed, 26 Feb 2020 11:17:58 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01QFvf0S033348; Wed, 26 Feb 2020 16:17:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=WKDZDiIYwkHJ2rTuDV4wlnpR6BBfh5Fu3+ipePDTfXQ=; b=zCYArvRaXJmqXBidy/Q5qenDhKRVmcVzrktrvGTdPBebl7sI5xagcFXYUgC2ZTho07tX 8THf6oPBRBGDEimP3iO3azzyM8eFBSqhsmbQck3Xo9cvFeTLs8rxZH5Gs7qCs2bqBwep kDW0tlB18T7ZAWetfkGwd8DjYJE/ODI8GfgyauamE+0ynyOly7JgozmFqhfZYTLu8Voi ZhCEe385XKiZTK+ckxaYG3+QLbPUNsejpIf5y/VwD+yqAsgQdcIAiygRRlOkipSVLX47 d+GvnJFJeLM5RBiaNxuCxHgL2QL6lTNHVcaDMdu8B9C8eH8Gfs9Irt/KJGDjeL68Z09I Pg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2ydcsrmqqg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Feb 2020 16:17:46 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01QGELGG110521; Wed, 26 Feb 2020 16:17:45 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2ydcs2fs6w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Feb 2020 16:17:45 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01QGHiaR030245; Wed, 26 Feb 2020 16:17:44 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Feb 2020 08:17:43 -0800 Date: Wed, 26 Feb 2020 08:17:42 -0800 From: "Darrick J. Wong" To: Matthew Wilcox Cc: Ritesh Harjani , jack@suse.cz, tytso@mit.edu, linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca, linux-fsdevel@vger.kernel.org, hch@infradead.org, cmaiolino@redhat.com Subject: Re: [PATCHv3 6/6] Documentation: Correct the description of FIEMAP_EXTENT_LAST Message-ID: <20200226161742.GB8036@magnolia> References: <279638c6939b1f6ef3ab32912cb51da1a967cf8e.1582702694.git.riteshh@linux.ibm.com> <20200226130503.GY24185@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200226130503.GY24185@bombadil.infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9543 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002260111 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9543 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 suspectscore=0 bulkscore=0 malwarescore=0 spamscore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002260111 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 05:05:03AM -0800, Matthew Wilcox wrote: > 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. "This flag means nothing and can be set arbitrarily by the fs for the lulz." Yuck. I was really hoping for "This is set on the last extent record in the dataset generated by the query parameters", particularly becaue that's how e2fsprogs utilties interpret that flag. --D