Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3751653ybx; Mon, 4 Nov 2019 02:17:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx1gH79cfpZLS/ZQEEuqruwMhO6zFdPMOERzj8eXX/Nszd6bb8cAtqBKmg1JYz1F/84Ki06 X-Received: by 2002:a50:d55b:: with SMTP id f27mr28887293edj.302.1572862632472; Mon, 04 Nov 2019 02:17:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572862632; cv=none; d=google.com; s=arc-20160816; b=smQ3AYCuaY+J7kJA+G57UbGSjHxa5gbBACKiUd4E4FGbqjVnlJTRDcV/LtVgioPYzk HoCq1Il9GnPPm0pBAm/QQu2MVoO/2DvL7yfL32uGKd2DGZlueAdpiyZVI2SdajF8hMM2 u2Lgu8Qxx8nAu2pmsYtYPJVjV7PrMy933Y00oqBz+IfeBwYnmCXkIUF6jlvMPND6qhtX IExl3UK0jcuymw2Z3Qs3bmTARqxs78ZvvawuJv2C6gSjSImmKOpYFGeyY98L1BtCu7uu MD37Xjw0/TVt0z/QY4VsxICtV33rnvxIYHAlRyPbsNy5q74taqOr33IGXLurletPlc4W swow== 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=TJQGiAgKCYWh8wNF9k7wkhKxBP/cvA1DOhIr1NkfKYk=; b=QE4UurOuK5J8PRhrOWRAt5n9Z+GBFFpvd26ubRDn/hqp7Q8j5ONbpJY1DVWONVvhPT vqRL/M0Ivd1kPzJW/RJ3fflYjYBn0N1xG/5DamPDI69yR3pX3hjwlaEZKdVktG66eHB8 +AJZTohWD2by8+FjHyvG07rdbr+UqH5ENLqPPAlB0tlrCh7KcHqgDX3fiQYUysFqUDap MCq45IcOU+jd3PVqkKa+hHvwKw6eQQnstQnAL+ZgWykJDTKoUyc+sR2N64Ck1Kd0l+G+ FgDe9GCvEa6V0le7G7JsWDQYZcb62SSw0t1X3hGMKZ6RuFZzmL48mS+s+ATY4nTkYTWj bXEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbobrowski-org.20150623.gappssmtp.com header.s=20150623 header.b="bnFQ/lnR"; 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 e5si10819371ejj.70.2019.11.04.02.16.39; Mon, 04 Nov 2019 02:17:12 -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=@mbobrowski-org.20150623.gappssmtp.com header.s=20150623 header.b="bnFQ/lnR"; 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 S1727663AbfKDKQd (ORCPT + 99 others); Mon, 4 Nov 2019 05:16:33 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:47015 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727419AbfKDKQc (ORCPT ); Mon, 4 Nov 2019 05:16:32 -0500 Received: by mail-pf1-f196.google.com with SMTP id 193so10560040pfc.13 for ; Mon, 04 Nov 2019 02:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbobrowski-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TJQGiAgKCYWh8wNF9k7wkhKxBP/cvA1DOhIr1NkfKYk=; b=bnFQ/lnRqK7i8gWmTJsldq0Hr6vmT9CXNi5Q6o1STOtybU9UETnS0w/5Pn/7CfSUqH LCgveX3/8TAKefnhtcB2/6NRv4v9dv0VRWSoDXvPDmYaU1wEkhFk7xfwhSnSDA7Y74Fp NT1C7VEQg1XW1g9ygiAW2XrE5JFXgRxvjztdvvz9WGXn69j5gTf5vfJufhqhpKLbJjin xo17wfNWU16mp/qR68iNQ5ULGcuxIynjnLOKiABXvGCObKkKYQAS1gM8SiojLXL2PjGy DU/RjM6Xs8I4jexzoy3CiHminxwDjJykiYYOH/Ll0DRiOk7r7Xkds8weXF1Pu/bnrMwk TPVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TJQGiAgKCYWh8wNF9k7wkhKxBP/cvA1DOhIr1NkfKYk=; b=R1iMllryZtigSkbQfTr6/ulFlM3AXpJKPH3TFImLS/u6Z0I0If54oERT4zrlW+QpdE 0PpVcyOeO4yGZp15n5rCKzqyorFYMM5GlqPoQn25dDeWjR+5KAP23+zeWzLNfAEQ+28M waw6nGZAssAT/JEfsdJCUgbsOGQagvd4BTEoPuHKerdm5hlFi3p6R94A8yhMAi7lMLnt sBVUmZddQUdfZkaVTp+04Tg+U+GMclHAthKf6N/4q1TmbRmjvrWIWOLwdj5sCJ0wv0q7 XQTqsSLj6WbslRugWCsTt6H/Q5k/ZIRnIQHit8joEc9jgykLVsRc88hiN+sj/LD0GBZe KdLg== X-Gm-Message-State: APjAAAU7oN1RLCGMqo+qzS38kBxOBTOyAFPzAFTVcuNBBBmAyXfgf97L IU2t7rMQXV2kti//POjnVebDzIl/cA== X-Received: by 2002:a17:90a:eb18:: with SMTP id j24mr22020776pjz.85.1572862591457; Mon, 04 Nov 2019 02:16:31 -0800 (PST) Received: from bobrowski ([110.232.114.101]) by smtp.gmail.com with ESMTPSA id y2sm16122582pfe.126.2019.11.04.02.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 02:16:30 -0800 (PST) Date: Mon, 4 Nov 2019 21:16:25 +1100 From: Matthew Bobrowski To: "Theodore Y. Ts'o" Cc: Ritesh Harjani , jack@suse.cz, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC 0/5] Ext4: Add support for blocksize < pagesize for dioread_nolock Message-ID: <20191104101623.GB27115@bobrowski> References: <20191016073711.4141-1-riteshh@linux.ibm.com> <20191023232614.GB1124@mit.edu> <20191029071925.60AABA405B@b06wcsmtp001.portsmouth.uk.ibm.com> <20191103191606.GB8037@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191103191606.GB8037@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 Sun, Nov 03, 2019 at 02:16:06PM -0500, Theodore Y. Ts'o wrote: > On Tue, Oct 29, 2019 at 12:49:24PM +0530, Ritesh Harjani wrote: > > > > So it looks like these failed tests does not seem to be because of this > > patch series. But these are broken in general for at least 1K blocksize. > > Agreed, I failed to add them to the exclude list for diread_nolock_1k. > Thanks for pointing that out! > > After looking through these patches, it looks good. So, I've landed > this series on the ext4 git tree. > > There are some potential conflicts with Matthew's DIO using imap patch > set. I tried resolving them in the obvious way (see the tt/mb-dio > branch[1] on ext4.git), and unfortunately, there is a flaky test > failure with generic/270 --- 2 times out 30 runs of generic/270, the > file system is left inconsistent, with problems found in the block > allocation bitmap. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/log/?h=tt/mb-dio > > I've verified that generic/270 isn't a problem on -rc3, and it's not a > problem with just your patch series. So, it's almost certain it's > because I screwed up the merge. I applied each of Matthew's patch one > at a time, and conflict was in changes in ext4_end_io_dio, which is > dropped in Matthew's patch. It wasn't obvious though where the > dioread-nolock-1k change should be applied in Matthew's patch series. > Could you take a look? Thanks!! Hang on a second. Are we not prematurely merging this series in with master? I thought that this is something that should've come after the iomap direct I/O port, no? The use of io_end's within the new direct I/O implementation are effectively redundant... /M