Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp400748pxb; Wed, 20 Jan 2021 09:36:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJx14V3dsomyxcwTdeVxuRgCJWvp/1dKfsimFSmflGK16Puf9QNsiQPULJsji1xfDWBjJ/7B X-Received: by 2002:a17:907:7252:: with SMTP id ds18mr2073554ejc.239.1611164215868; Wed, 20 Jan 2021 09:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611164215; cv=none; d=google.com; s=arc-20160816; b=bBkc9H4x9Aa0PTFBIDQvnQpi4QrE8DuLKq7xSXf1R53hAXwqb2n9uV0RKgbyPSFR/m Ixe9tl+9+RPa6tgWJZC5/ndBffzhqe72yHsdDxQjerUiomQXzs6w4Tv+/RyxsNodu+ky 7pP8gXp33exrqeo8Kq0OL4V+PkczZJFPihsB+8yxF2z3M1LraJBk91rpjbWs5oiks8qJ 36jo6fZ9Tqd01MZdrr0rYWAbvwlRqNKsgQ+L+jxRs+uh/4PDYHKZfr4EcT5Wa3jcyz9S WKRVzS8Jz30ETvbyva+b8pDZFoNLcGlG/fT6KLkq/WtKzcntS0r9V4gJio9U80fgOtEy 71qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nSCkCp7YbB4uesa+BF93Kdx2zRiFf+kQ6K3+ROxstYk=; b=CqilgCwFBj3Vy6V95TpItMy9a8DeyT4nWj0J486vlpckZethhbSGP9FASQdTSX9yoK f/7LVDecI972lGJN2mH7zh7hAWniv+OWGQM+f8XxzncIQ5zRXupjmGllwe/O1vKEgrxx zna131ogGQTPtqBzKqluBx3shRRBDL0JZAP8ReOtTB9Cg1vikLzTrSU+p1KJTDJnBPt8 lMayxdmZyMjedigPwFfSH7NBb+UEei6hzvR02YwC03+4uG/cgW4Lcfkz23pt5/fcvM6L 2ReAdEsgiKDOBDAbwKMnHzNZTCfbZ17euxFE7Fthjr0eF0K/04dIqM46tJciK4apyRU5 xdMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PjwfNj17; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si1121773eds.249.2021.01.20.09.36.30; Wed, 20 Jan 2021 09:36:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PjwfNj17; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732407AbhATReu (ORCPT + 99 others); Wed, 20 Jan 2021 12:34:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731826AbhATRaX (ORCPT ); Wed, 20 Jan 2021 12:30:23 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 131F4C0613C1; Wed, 20 Jan 2021 09:29:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=nSCkCp7YbB4uesa+BF93Kdx2zRiFf+kQ6K3+ROxstYk=; b=PjwfNj17vL8C+/os7kashumdUO xfy8+dT1bMxbszF7XBJrgqBjxjICa1Z2VAsW8RQnKvhD74uBVtJPW/HqmuPin+ctk+Jral4+qESit kzXk1voEnafeYgpPyAvxfbK95iGBLt2mAZ0mY4S37VMAXfB21bGCJscMV8YLwsiXqWHd0kCXUrKf1 LWcnZlr6uYQlbK2l0QBZ4y2cy87mv5oYBnrUiyWuuQiDSHLCWzxHfM04Py85MEXa+fA4jLyYom42z BJ5bVov4G4MjZG/wKCy2RYQWQ11PY3Zp6G48XLQPrDqP+DI+F2PEl5EtWUz8e66QEcwFAemU+18Z6 Ue0FATTQ==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l2HHY-00FzDt-Mo; Wed, 20 Jan 2021 17:28:49 +0000 Date: Wed, 20 Jan 2021 17:28:36 +0000 From: Christoph Hellwig To: Jan Kara Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, Matthew Wilcox , linux-ext4@vger.kernel.org Subject: Re: [PATCH 2/3] mm: Provide address_space operation for filling pages for read Message-ID: <20210120172836.GA3809508@infradead.org> References: <20210120160611.26853-1-jack@suse.cz> <20210120160611.26853-3-jack@suse.cz> <20210120162001.GB3790454@infradead.org> <20210120172705.GC24063@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120172705.GC24063@quack2.suse.cz> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jan 20, 2021 at 06:27:05PM +0100, Jan Kara wrote: > This would mean pulling i_mmap_sem out from ext4/XFS/F2FS private inode > into the VFS inode. Which is fine by me but it would grow struct inode for > proc / tmpfs / btrfs (although for btrfs I'm not convinced it isn't > actually prone to the race and doesn't need similar protection as xfs / > ext4) so some people may object. The btrfs folks are already looking into lifting it to common code. Also I have a patch pending to remove a list_head from the inode to counter the size increase :)