Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp425955pxu; Fri, 23 Oct 2020 04:44:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyO7Dy4v31g+0Q3rgelUaOOUMtiNm68Q30LEGAZFoWdJwehAB85Lrj+2DWfjClIBqB8KgN X-Received: by 2002:a17:906:a04c:: with SMTP id bg12mr1470252ejb.317.1603453441648; Fri, 23 Oct 2020 04:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603453441; cv=none; d=google.com; s=arc-20160816; b=NVGUB7Aiwwxe0SG6i2PwsUey1vkifS9IZCzxCV91tpwunizH+rXiiEcsNYYUvjRBO4 wJVfP9OUkUKLpwBaodiED+3c/KAm59DdGGEVpEDQW0ufybCzbEx10aV056yXUCeTS8Tk 9Md9AHWoN50314Fs5HhZS5XwzEHgjWjUxLZsoSQiMejX/P9LkGEtaWDJMfx9+DGvI6nW xOQAuRANUlHWYXPF4AIxvLay2QiAhkYHy7MzbV74L2wFqe/KvWmdrrI1alfIMtuhbOtF /gx/skzp0vvGjarnKMUHq8QJCUtxcsj0I3RkbiL0vNiuTmxv9qQCTukmqeaqKOqQFLR6 hS3w== 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=uTBzimS1PCb6rk5CYfmm7DQ57ZumL5IF6N2uuwCT5ic=; b=Fwa18ralzYHSR5HC+ShaUsy0Ac+v5TxWjIP1F9NycuWuX9FSZNLSxhmKCMl9xoKZOO F1tp/vjOuUWDg19QqcxayEau+czGJnPY1GVsD0b6iYmIpXV3jnATQFL4FC2YXFTQnNVj 7TrNIHYZGl71M0VS4i51dzno87I0r1UVYyG40EfOhPwGYawvfXHxACcLQqi+GLB0xAMG ZIKURR8FGCgLPZAHfizCFqG4yS+B0h5cMZfX+jJs5ET6b5Mvn0di46/ETJL8BWXTvdT4 QG+KXIUdk9vvQhRvfeEZsFHgtNIJpQ5+qJ7oj6EO4x5rtFyLC7+7FR87Ug+uxGGNxSMb UiVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ACJo1cAn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 bt15si660374ejb.170.2020.10.23.04.43.39; Fri, 23 Oct 2020 04:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=ACJo1cAn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S463154AbgJWLmX (ORCPT + 99 others); Fri, 23 Oct 2020 07:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S463147AbgJWLmW (ORCPT ); Fri, 23 Oct 2020 07:42:22 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83323C0613CE; Fri, 23 Oct 2020 04:42:22 -0700 (PDT) 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=uTBzimS1PCb6rk5CYfmm7DQ57ZumL5IF6N2uuwCT5ic=; b=ACJo1cAnkf3SCtOXvhzF84HPAz utZFVfmrmNmBVfyFa5t0dItqVsR7LlM9a/jTwu2II5s5V7yF3kAfVMAnMzrXyZDJpdWcEwVJSnBdA ssO+4GIuRRj3bJhia6MZuAmiwlqfgDAZwC+arcGcmvM62SC4BkH/APIgbr+WE9JUWbkEsxQJv1T+8 URB45+a6Ia7ysOI4DPNhoQMYW4TeQKE/LaC/YAFY5RH5zcgq+ifmOcQ6rd+lmpRFWMkpzlB1/MrUx w1PAwnEZ8ryBA9uzRY/Ptw2NcZNt8qJY6m1u4wwhuG9ZxAeJpjMOjMJrrw6GfqYiffp3/XudIOj1F F69t2U5g==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVvSe-0007Yd-Ua; Fri, 23 Oct 2020 11:42:21 +0000 Date: Fri, 23 Oct 2020 12:42:20 +0100 From: Matthew Wilcox To: Hannes Reinecke Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] synchronous readpage for buffer_heads Message-ID: <20201023114220.GY20115@casper.infradead.org> References: <20201022152256.GU20115@casper.infradead.org> <25528b1a-7434-62cb-705a-7269d050bbc1@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25528b1a-7434-62cb-705a-7269d050bbc1@suse.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 08:22:07AM +0200, Hannes Reinecke wrote: > On 10/22/20 5:22 PM, Matthew Wilcox wrote: > Hmm. You are aware, of course, that hch et al are working on replacing bhs > with iomap, right? $ git shortlog --author=Wilcox origin/master -- fs/iomap |head -1 Matthew Wilcox (Oracle) (17): But actually, I don't see anyone working on a mass migration of filesystems from either using BHs directly or using the mpage code to using iomap. I have a summer student for next summer who I'm going to let loose on this problem, but I fear buffer_heads will be with us for a long time to come. I mean, who's going to convert reiserfs to iomap? $ git log --no-merges --since=2015-01-01 origin/master fs/reiserfs |grep -c ^comm 130 Not exactly a thriving development community. It doesn't even support fallocate. > So wouldn't it be more useful to concentrate on the iomap code, and ensure > that _that_ is working correctly? Did that one first, then did mpage_readpage(), now I've moved on to block_read_full_page(). Now I'm going to go back and redo iomap with everything I learned doing block_read_full_page(). It's going to use blk_completion.