Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp477558ybl; Tue, 7 Jan 2020 09:23:18 -0800 (PST) X-Google-Smtp-Source: APXvYqxUJXHoREwVSuKFX2qxNi/YGHhr6QjNAr7OqL+Y3ZzR7ROTw/Kcge6B4a46xdWxBiB9HDvL X-Received: by 2002:aca:53c6:: with SMTP id h189mr507986oib.11.1578417798681; Tue, 07 Jan 2020 09:23:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578417798; cv=none; d=google.com; s=arc-20160816; b=JbOiGBURbVV7oIdhWHhJBLrjZu2MhVjPY0/eblQAPamn70svbn78cN9suBR70UR1aU /oEDyYSoMcDvWt0Qrxydbg7uDKVN2y2sPEc+GaviPT7IMCvQJfiqUiLVVqMwqJgObQzv QE7gZQRUqh+SVEFeyolCo8jDR7Z9Wv0nwV+WOe11M0iWAAIUxPA+C8Mwb2taUNsFEf5B FyS8/cBMayLRYwfDPsnNysCm6KHeCpjqeBrUmWxGkFKsUke/K2HEFLjAZ6P+2ILD9ugm hRInH7KjrrZk4euFcJUcQvzG6YwaOSuW0ol3LbZyLDSeXUg9UcRaMq6nE1/IXxW7PcMf ipfg== 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; bh=FHjCBZv7g4tqJxUCtYBcrytAaS9j/x21bKRbC1ZuANU=; b=un/sRafBadNbWQd7H9rdc+2/78EzP3nB6+IuaF8VnWHFbVvxRB24IJdEV/ijFJMazw RHidA8GxIu+Sw0nilsZb9YStKu0HtubzGjunKk0gD1s+zAQpV1hYBV7QuQkJbU8iOlU5 UOOcrdq8cKOLB2u0rgTCLmsrNQwPH8v3Fc/QwcTLzQ2L+jXQiDqxPtAbH7VNJ/tEAgdr lz9wAAWZ/DC61uzo2Z6CklVPLMzbYNSuZX+L6xgcSRYbHwLuGj+Wgs+nhkXZe18lg6ON JF2HjnQwE4Wfp3gLr4Zul3TdzukTQvunm/+yP8vy6XpIagVKBxcatqx8O97gACHFp6yH vNQQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i65si291971oif.15.2020.01.07.09.23.03; Tue, 07 Jan 2020 09:23:18 -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; 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 S1728266AbgAGRWj (ORCPT + 99 others); Tue, 7 Jan 2020 12:22:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:54184 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728292AbgAGRWj (ORCPT ); Tue, 7 Jan 2020 12:22:39 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 13241AD2C; Tue, 7 Jan 2020 17:22:38 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 798A31E06E5; Tue, 7 Jan 2020 18:22:36 +0100 (CET) Date: Tue, 7 Jan 2020 18:22:36 +0100 From: Jan Kara To: "Theodore Y. Ts'o" Cc: Jan Kara , Ritesh Harjani , Xiaoguang Wang , Ext4 Developers List , joseph.qi@linux.alibaba.com, Liu Bo Subject: Re: Discussion: is it time to remove dioread_nolock? Message-ID: <20200107172236.GJ25547@quack2.suse.cz> References: <20191226153118.GA17237@mit.edu> <9042a8f4-985a-fc83-c059-241c9440200c@linux.alibaba.com> <20200106122457.A10F7AE053@d06av26.portsmouth.uk.ibm.com> <20200107004338.GB125832@mit.edu> <20200107082212.GA25547@quack2.suse.cz> <20200107171109.GB3619@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200107171109.GB3619@mit.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue 07-01-20 12:11:09, Theodore Y. Ts'o wrote: > Hmm..... There's actually an even more radical option we could use, > given that Ritesh has made dioread_nolock work on block sizes < page > size. We could make dioread_nolock the default, until we can revamp > ext4_writepages() to write the data blocks first.... Yes, that's a good point. And I'm not opposed to that if it makes the life simpler. But I'd like to see some performance numbers showing how much is writeback using unwritten extents slower so that we don't introduce too big regression with this... Honza -- Jan Kara SUSE Labs, CR