Received: by 10.223.185.116 with SMTP id b49csp4105924wrg; Tue, 13 Feb 2018 12:53:21 -0800 (PST) X-Google-Smtp-Source: AH8x226qihcQOL0XqPhOluGvywfWfJpopPjuIgtl+hrOuEInAFa4MVS4bpfT+V+gGJhmZ9mZ86hH X-Received: by 10.98.150.213 with SMTP id s82mr2486641pfk.10.1518555201128; Tue, 13 Feb 2018 12:53:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518555201; cv=none; d=google.com; s=arc-20160816; b=m7CKl0ND7mGM+xEEGAb3RJsufcOGheoz/2j9AGN2s/+sx6qB286WZitAART7W1enmy FN61M87viGnIMB0f7mpBkxOfC0VyuYGUhe7C7mmTenImJh5tDJAvo1/kSWoHmWbq6s1u fDO1va7AEoypHPPJ2FGvRvA+nmI0jFOs69UukfnFET8fvrh39QYbRBzdmI7RgssaCFyS 4Cf1X+OsdBAi+olGMfbNKI1aQmkYTSocQbGY7mVyMN29b5Z1q2sP9HC8Xpz2xOk0T/wS 9HVNo1ptYKK3rAK7ssBNI7R1zAhPV6tkLgHZKPTKgyP/tJ1nshaSeTzEt4NSyP2MZ5p9 cHPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=57fHQHaSHojKFH6OGtuZfx2+fUqA2Xo++VqRent/tVM=; b=pMaH6YLrMuo9fQ/8lNbQeZ5eRU93FylKgUMEyv5hOz5U3vx0ZiUnM/BlU+UNUjCgcX TxGqlSGxmEkwPAMF4nSPLK2rzwmOiiy5UmaXesHVRkwgpn6JsQCPS0EtLu45fybo31RN BFQe1t7v2LiEy9niboIC9az2TmRwJiOJgtesxuRrp2taxXXajeosMuqp7mXSrpWKa5hf u21sIVbaanHCB3mIS3/J2+z/vbJYD76A+2uAGQKZ+6AerJQc3pc3yXsMpnE+XG+r2EiF UK/nuuvj/LBhmMIUQSBcqnGgTjA9EDcdS3mKutMY2wLpAwQU2YsFdToS0tLzL1mLdD7D 9mvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=JPn0XilV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f8si263469pgn.420.2018.02.13.12.53.05; Tue, 13 Feb 2018 12:53:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=JPn0XilV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965801AbeBMUwZ (ORCPT + 99 others); Tue, 13 Feb 2018 15:52:25 -0500 Received: from mail-oi0-f54.google.com ([209.85.218.54]:36362 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965676AbeBMUwX (ORCPT ); Tue, 13 Feb 2018 15:52:23 -0500 Received: by mail-oi0-f54.google.com with SMTP id 24so14906006oij.3 for ; Tue, 13 Feb 2018 12:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=57fHQHaSHojKFH6OGtuZfx2+fUqA2Xo++VqRent/tVM=; b=JPn0XilVrKsvejy6tn6uV3sObRfh7P0NNm3EY7bo17Afsvz6ldZpZO+fRRflXzY0pV VFXRCH/WdEJvyNMdt86+qbu2UQXp3DyWdIH6FbXhUFDjg9Z4gRWnFyuVX+qmS4SBR9YF 89DZ2EU7zBqzdyRZBafLT5dMzNY3jgu8dbeB10HZOovHZEMySZmrGohAKwkFAmrpac5A WmdZd/doF4UJwinNxd9tnRh/ydQOZCtemO+QZJsXwI7tIzL2YCLciL/gVknqhwL4Q6hv 6LWjHEUM93OuP1RudvriPjEjjBS8CNjhjXKZ2yhoMpfAJxWkemvLE/mKZaaErdqd7qi6 B6Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=57fHQHaSHojKFH6OGtuZfx2+fUqA2Xo++VqRent/tVM=; b=h6rbUUw7oORlafZSdtnl1Hm7PiTsy5AWWgMR9WIUrzFFe+1jX6zIUGoMFhnedzNEA1 fzCw0I7JLl/tZvKl+ZEc9d7SjFd03iE1SXg2QT3s8wpHNwfdyg2dtz5mvISTuMEGQ28Q kwxNAmhhndWJn47iW3zIWCY1Me+LpBM6j6iE3eB2wwu0flGl+6fRuQ3SZ5xTUkwbgfm6 5gvcHlt/alXP/LyTX9AcZP+n86FJMS1SNleH5NXMvf7z68MQDsHK35tluHhOzQdC/h4J 6fpi1qLr6AEkSnvHs+M+5rByyDOKuXGjvjY4gxDacEPPE1fyiv1tqgjLemWs597ya7AH 3sGg== X-Gm-Message-State: APf1xPD7xM8i9VwI1iDPa9VE0qyNMrS96PYYlBHT8S/vGjwc7gFxTsjb XKiL7yCOmS1Fuj3Wu7QJrLp9FzfkYz50quBxiV5l5A== X-Received: by 10.202.223.137 with SMTP id w131mr1792940oig.175.1518555143264; Tue, 13 Feb 2018 12:52:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.211 with HTTP; Tue, 13 Feb 2018 12:52:22 -0800 (PST) In-Reply-To: <20180213192204.GA13682@linux.intel.com> References: <20180212230558.5546-1-ross.zwisler@linux.intel.com> <20180213145404.GB14657@lst.de> <20180213192204.GA13682@linux.intel.com> From: Dan Williams Date: Tue, 13 Feb 2018 12:52:22 -0800 Message-ID: Subject: Re: [PATCH] loop: Fix lost writes caused by missing flag To: Ross Zwisler Cc: Christoph Hellwig , stable@vger.kernel.org, Linux Kernel Mailing List , Al Viro , linux-nvdimm@lists.01.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 13, 2018 at 11:22 AM, Ross Zwisler wrote: > On Tue, Feb 13, 2018 at 03:54:04PM +0100, Christoph Hellwig wrote: >> Looks good: >> >> Reviewed-by: Christoph Hellwig >> >> Can you wire up your test cases for blktests? > > Is blktests really the right place for this test? This failure is highly > dependent on the configuration of the filesystem that is holding the file that > we are using for the loopback device. It doesn't seem like blktests has > support for mount options (dax), etc? > > Because of the interaction with the underlying filesystem this seems like a > better fit with xfstests to me, but I don't know if we need to add tests there > because we already have pretty good coverage of loopback device failures. > That's how we found this - this bug causes all these tests to fail: > xfs/074 xfs/078 xfs/216 xfs/217 xfs/250 The problem is that those tests don't configure the device in 4K sector mode, so we're still missing a regression test. That seems to be where blktests can come into play.