Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3784126ybx; Mon, 4 Nov 2019 02:52:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwq4m5Mw2ep/WaON4S8NbRB52y+BuZ77qoyW7Ji+j4Sui0aToj27CLpOw+ih6UXLRR2/4nb X-Received: by 2002:a50:e606:: with SMTP id y6mr28718022edm.261.1572864729336; Mon, 04 Nov 2019 02:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572864729; cv=none; d=google.com; s=arc-20160816; b=HzfvJM1+qZ/YcrAqzoYh5KlcIPBhjjVRyE5Oqo57k1AHUdm4ME9piXF5AyT+vQ4GS2 IqpcRYforoNEk8fU6DJ0daAabwEAGWRs/PMbKMTFImWpthD9SdjjjLp0cxHT5rzXfIuy 2bCvlRA7oZFrts0UP4qJdudNYSNOxiqJme/BGUzKl1Ti+29DGdkXUAQCblB/h6MquMMv OCAJji5uom208Pm3H3FkUzf0oQgW5EUveQRaSFSo1KhsJ8mJDxx5sfmyzfUUvvVn9BIZ jzlJm2NOArCgMTKtpaZBCUBFLnH9/GwCrFJtSF3H6RBeQurj1SotjWi9N7dzQqhFVGnb L6dg== 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=y3+1oxLkBWqYhlfZFqeAByZ3EtluoqxPsa6w3RZjvWM=; b=zkEBjk7bqzil6cJYmLMWIY2ubo6XnGDBAxYRcRfUTvWB6qKG4hh4xXncAxJAwM9YGK EVQMh4TYog1WymE+3JIjPeGoUcK2M0fJ3zzDkA6VMVzmEVck5ySm9R2M207H39qQvFqq VFKxyCFBnh48hDyinyBXT0XCtn6OAvB1U4fo1QMOeO7YL7pAoE89vASEzgbEphN97FMv KVknw5vXfd6AxggbA+tPvus7RU84+mYQ7x8UJd5BivhsETd75wh2tjMLG9YSBpRfQYHY /M5545ySFENvrZmxNB0eeHZcF9FEgS5JDbozahphQR2CI06cWVY4948BE2JPLOEZp5Mt OzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbobrowski-org.20150623.gappssmtp.com header.s=20150623 header.b=L0UHxeMw; 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 o21si2546024ejx.139.2019.11.04.02.51.44; Mon, 04 Nov 2019 02:52:09 -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=L0UHxeMw; 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 S1728336AbfKDKtW (ORCPT + 99 others); Mon, 4 Nov 2019 05:49:22 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33381 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727607AbfKDKtW (ORCPT ); Mon, 4 Nov 2019 05:49:22 -0500 Received: by mail-pg1-f196.google.com with SMTP id u23so11057082pgo.0 for ; Mon, 04 Nov 2019 02:49:21 -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=y3+1oxLkBWqYhlfZFqeAByZ3EtluoqxPsa6w3RZjvWM=; b=L0UHxeMwYcwPXeVh2uURVkI8DjGYoeFSDDECtu0IJyD/8v85nHeGlOvSVUaEzNZc+k bZQguL8s/YfkMHB7DTXu/b9W8XC9Wsoht/3zTwlJV2GH43votFzdtDxNKHWul8A5/ZXp sMeTbspZKSx+Ub1iV4jUZQtDlipTDUCyFkfOO25QVEB0GX8qnlg2nn1eu1fa+rhU0QLl Sw+sIfessUESxnx+poQlGyYeHNHdsHKZjGbFMqKPfIvMGkxxtZrxOKkbTr/qALm64Mnw 7/GiirhDgYUlOSlLtdTNA5wHaVlarUr1QNS5C+r0nxRlHg2i/cPzsv6GLrSQf69x39+l sxsQ== 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=y3+1oxLkBWqYhlfZFqeAByZ3EtluoqxPsa6w3RZjvWM=; b=pXUMUoF6yyFWfRRTBnjLcibwuGT4s3e1BrwD+ubjEYhaTjBQ4s7Gwqu2GvT2t2bHWT +f4VoTkT0G9T1w0X85NGgfOQmtHrAUECc6Dv4H8XgDbDIiLEueGI+BTdm557wPD5TiWF J3iZZyhD8dJlNN9ete/9oEht502WQZ7wQqcMiNyIIZmwgEmwmJuKOIIqBUQWwVs5bv1f LfIryWRQZOpoPQNE/FA48y2Wy9mzJ/8hmGFSoBs6UZtOnulPmRstKzkyDB5EPmsfoKN8 Fn3McUf7GStn/tyJVZN5IUe+GQN5t57iLGYBv/XqHKcdMqpJXeLyG5Ct9TyjeE1VNbry MZjw== X-Gm-Message-State: APjAAAWSk393dxgNhZz2WfxzoZUQmuRV9u2xOmV3IpJLv2sWDletuzCQ KSqdiMQaB5nQEjYOcMJCk2z7 X-Received: by 2002:a63:ee44:: with SMTP id n4mr11490821pgk.137.1572864560928; Mon, 04 Nov 2019 02:49:20 -0800 (PST) Received: from bobrowski ([110.232.114.101]) by smtp.gmail.com with ESMTPSA id w26sm26108633pfj.123.2019.11.04.02.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 02:49:20 -0800 (PST) Date: Mon, 4 Nov 2019 21:49:14 +1100 From: Matthew Bobrowski To: Ritesh Harjani Cc: "Theodore Y. Ts'o" , 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: <20191104104913.GC27115@bobrowski> References: <20191016073711.4141-1-riteshh@linux.ibm.com> <20191023232614.GB1124@mit.edu> <20191029071925.60AABA405B@b06wcsmtp001.portsmouth.uk.ibm.com> <20191103191606.GB8037@mit.edu> <20191104101623.GB27115@bobrowski> <20191104103759.4085C4C046@d06av22.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191104103759.4085C4C046@d06av22.portsmouth.uk.ibm.com> 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 Mon, Nov 04, 2019 at 04:07:56PM +0530, Ritesh Harjani wrote: > On 11/4/19 3:46 PM, Matthew Bobrowski wrote: > > 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... > > It sure may be giving a merge conflict (due to io_end structure). > But this dioread_nolock series was not dependent over iomap series. Uh ha. Well, there's been a chunk of code injected into ext4_end_io_dio() here and by me removing it, I'm not entirely sure what the downstream effects will be for this specific change... /M