Received: by 10.213.65.68 with SMTP id h4csp109870imn; Mon, 26 Mar 2018 16:27:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELu4kfUmhP8Uk/y6B0NH8D9tl6IR+rJNEZ6swCUzJc1hVTDK7C2uOCCMjQXWCkx6Ai8esMtM X-Received: by 10.99.55.1 with SMTP id e1mr25429404pga.237.1522106871021; Mon, 26 Mar 2018 16:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522106870; cv=none; d=google.com; s=arc-20160816; b=AS2/1QKMkfMZ/hVmr/6Hu3VhqGqDwJQv+U2z2+LxD0hN6icr1SDijKC0JK55+OwmLC 7kTU+oX4uPV8yZ6hGagchjV8TfTSl1eK78V5V/9SJAisR854wWC+5T0cCWt224n32Wei IIrz9nI/VLDOkjB2vYpR5q2WgH82qHkfgj75Fu3ezZPHsYHS04pCL64stSDDE/IXlEBz j0UKH+G9XxrIz1/QQFjKy1SOAn+uM887nqo9qWL5v2HRMBAM3A9Yfi29VlC3Y5zFym1T a3qlRHxiRDXEUEGMnwzX3e9uuNy7WB0bl7zRusYcknjXCSXr4ytyeUsZPlKDWz/VHV+q Dwug== 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:arc-authentication-results; bh=wYjeX3lCT3BPFdg62HQEnRvtf2UCMF6rFyoWqS3xi48=; b=NvL/74YhhfWBCNqApO0YBMbwFp/yY7E+sSMR7PWilFPJN3hLvkheX1mn4xWw2zTaza u617RGiL0vR8LoePE/wgpntd8kt3s265o4bo0rTHwR88RJcDQA7nrilC3pt/3PC4NVSt RPW4Qei9VtavB/Zku4+cYyXADwCv4T5iATdY2eJNXylw6GIhwBk6F9RhWbKuldj1wquH z9E3AlNN3lXB2FgHKKc0TiMr250E2FJyZXFDjbqWrfWISH9CzNp9k+W0brXdvjGwzTER KL4fAczd5KxmuY5mr+scCUIuoEXWFNBy6W17lTmpNepotBS0D41sqH8Bk2wxrfKzbMk7 C6ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KnYdjsKS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 b89-v6si3395395plb.262.2018.03.26.16.27.35; Mon, 26 Mar 2018 16:27:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=KnYdjsKS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752192AbeCZX0i (ORCPT + 99 others); Mon, 26 Mar 2018 19:26:38 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:51174 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbeCZX0g (ORCPT ); Mon, 26 Mar 2018 19:26:36 -0400 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wYjeX3lCT3BPFdg62HQEnRvtf2UCMF6rFyoWqS3xi48=; b=KnYdjsKSdZjBUlrc28sgjrFZ9 qoNfbJcLC2WyMAXRl+wiGq5V5/0st4VjRWBL7P6z+ruTZtT9il+zSb+ZXU4QFYXBij8K7L1Bo9APa U7jGtSbEDKrgD8pBjjK7dn5r3mtiCMRJKXTOs/NNNnzXqBIK/ROMJPdhuoC+Nz4eWdgimCqfi+ox9 fa0EX/+bG8GyR0SQLSUF5SFOGL5Besi74m1XBOmEsH5luIo6LqtsxLuRd94XCzhu/4MEk2NqYwClt WGzhtx89Sh2it1WMUABMGY5Ia38iIcowTTxWAshcL1Xw3p0d8f3Xh5NDDwgTQWsHIqgwvsUEyeHvm 6f7tu6q7A==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0bVa-0000sJ-CW; Mon, 26 Mar 2018 23:26:34 +0000 Date: Mon, 26 Mar 2018 16:26:34 -0700 From: Matthew Wilcox To: Andrew Morton Cc: Matthew Wilcox , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Ryusuke Konishi , linux-nilfs@vger.kernel.org Subject: Re: [PATCH v9 00/61] XArray v9 Message-ID: <20180326232634.GA10054@bombadil.infradead.org> References: <20180313132639.17387-1-willy@infradead.org> <20180326153648.27f53e9a1398812203745257@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180326153648.27f53e9a1398812203745257@linux-foundation.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 26, 2018 at 03:36:48PM -0700, Andrew Morton wrote: > I looked at this from a for-4.17 POV and ran out of nerve at "[PATCH v9 > 09/61] xarray: Replace exceptional entries". It's awfully late. I did post v7 five weeks ago ... it wasn't late at the time. > "[PATCH v9 08/61] page cache: Use xa_lock" looks sufficiently > mechanical to be if-it-compiles-it-works, although perhaps that > shouldn't be in 4.17 either. Mainly because it commits us to merging > the rest of XArray and there hasn't been a ton of review and test > activity. I think we should commit to that. The API has had a pretty thorough review, and nobody's stepped up to say "Hey, no, I prefer the old API, I don't want to see it change". Merging patch 8 would move us a good chunk of the way towards getting the IDA in a position where it can be converted. Patch 9 would get us even further, but I'm willing to respin in order to build on just patch 8. > It looks like btrfs has changed in -next: > > --- a/fs/btrfs/inode.c~page-cache-use-xa_lock-fix > +++ a/fs/btrfs/inode.c > @@ -7445,7 +7445,7 @@ out: > > bool btrfs_page_exists_in_range(struct inode *inode, loff_t start, loff_t end) > { > - struct radix_tree_root *root = &inode->i_mapping->page_tree; > + struct radix_tree_root *root = &inode->i_mapping->i_pages; > bool found = false; > void **pagep = NULL; > struct page *page = NULL; btrfs_page_exists_in_range() has been deleted -- David Sterba merged the patch v8-0006-btrfs-Use-filemap_range_has_page.patch ... which was dropped from v9 of the patchset, so I'm not sure what you're actually looking at?