Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2854881pxk; Sun, 20 Sep 2020 20:51:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysZxF8k5+xUDpnQFjwPZSiGkHRD4OWxt0BtH/f8pQ2pt0k1/FtrkiVnORYATxH8RFOzXce X-Received: by 2002:a17:906:71cc:: with SMTP id i12mr47618547ejk.507.1600660301482; Sun, 20 Sep 2020 20:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600660301; cv=none; d=google.com; s=arc-20160816; b=xsgSC90etBjlOvCTozwLS52Gc/evpT+kKM5lIKo/BusQ80h5mGFtJ39p1dCveLeJEa SyeBUO6lJ9B4VyH0i3GmcvR6jlP0e0DumQx/f1Hu8NTzVZlqY1y9SjCJj3D3/kAgLAll NkxsZRgZbJi69250L2LSmDsiAsmz0PgD7vBJiaE9W2Ig87p5MW/uYOvOTo9bmFUgwXwa dS4bMhEJ6Pbiy98srfYxg+BZPDwUcQVPYPJbiUkpxixlxEpDbIEdJHmfnQIR6f+CdNIr /vX7i/XSR80UxbrGlTdClKweZg0oRuDpzGxUwOvAW6EYPFOHpuR9t3SUIq0QNJp2y5+a D35g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=y9gUatZD9QuyqAlm05aGA5o/i3RPKk46CeyCbsRfLsg=; b=LtIbp7HDWQjvGvykqrrPafXpsBj8fVMlV2/gd+uCcctp7g2rW4HebJlOR4W7KIttWW 9qOeGNtpnBYdmE/QLHJ7TovQCstWL1tEyX72iIRZaeAVn8aTLypgIshsz0575EXvYXjm tj6A6RptNCfzX/7YGceycUx8vYH3Gdhvkut6otiq3CtU53agsxMl9D5Oh+F7nvxsAFnP CC8O4gIAdowxOQoqYWVuPE8l2X3GxebPzD/WL+Mt4Y+uTL9Cn7jkYhkzKwg8krWJ55Jx weobH/vVGskCLQ+K8qzJTQ1N7QNtfQhcsg4IzWaSNfOzlFKlA36ZANTNFasU0mvr6YNV na1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ku6LGz56; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si7523144edy.400.2020.09.20.20.51.17; Sun, 20 Sep 2020 20:51:41 -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=@gmail.com header.s=20161025 header.b=ku6LGz56; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726221AbgIUDuR (ORCPT + 99 others); Sun, 20 Sep 2020 23:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgIUDuR (ORCPT ); Sun, 20 Sep 2020 23:50:17 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14ADFC061755 for ; Sun, 20 Sep 2020 20:50:17 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id a9so6729532pjg.1 for ; Sun, 20 Sep 2020 20:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=y9gUatZD9QuyqAlm05aGA5o/i3RPKk46CeyCbsRfLsg=; b=ku6LGz56JeKHjeFmpWEl07wzZy//X6hghxfPTUEs2dJ//VVW/KfW1ovvdU8tWcIBBg oY6Y12jkFgBgyeUWiJC0ycVjVFPeJtn9IwXdiRMUFqcnLEtyWp/FzcJT2u30Ni0q/Vcl qrQ4hjlGi+TBVTxnzdS2tkxg8g9X/P/MGkMaqLLj3uGtfB9hURWx4ZYSuIwKZ257Jrg0 SWoTMUV4vv3OIglvI8/1JAxJ9wsmmHcxgy6C/5GrcFPaAa24V5N/HSbiYqH/9y6jNEO3 C/tabc174d9sBGPwf6uqIuJ0KbMRwBcICpLaeY3h30PCW9WEF4ZYp4OddN6vpO9DJ1lp NHag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=y9gUatZD9QuyqAlm05aGA5o/i3RPKk46CeyCbsRfLsg=; b=fIvNWtmWmW3wfeGCup3AY4y3AcP12MQXiD673ToYEz1EljPrlhcZVYkIIPmCMvOnW2 C/BSFT+x/fSDqt+kiC8PAOcy+X1Lo2iJFVZ4UtN8tBlvFx9PAvda7oEN1VR91c7l5zpl Be8GfJWAhacI1mg+rxKKzO9pbcldvaWvsdAFlifagZlqFBQh4ZwSxlr7mHOuNm9quk2M 80H4o9iHgWslXLbmd0n3/p5wH6ftPAhqs3f9+7JhUOzdI7Xj/BKJCAMtWBdKSEHAGaaD IWXbGImLhNM3fY2GDS80gaP0fYmBvDWveYRl8IuwT8v4rqODOnCZKtEbT4cIqr5leQZh YNvg== X-Gm-Message-State: AOAM5313TceIrnkScx0Ce35jsTtDiL5qqmsrDYKa4mQuFldfsCxK4e6Y ZpHIbrbfu78lJpLfZnHfd/c= X-Received: by 2002:a17:90a:e60d:: with SMTP id j13mr23401859pjy.61.1600660216667; Sun, 20 Sep 2020 20:50:16 -0700 (PDT) Received: from [10.203.4.217] ([209.58.129.104]) by smtp.googlemail.com with ESMTPSA id e14sm10075566pgu.47.2020.09.20.20.50.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Sep 2020 20:50:15 -0700 (PDT) Subject: =?UTF-8?Q?Re=3a_PROBLEM=3a_5=2e9=2e0-rc6_fails_to_compile_due_to_?= =?UTF-8?B?J3JlZGVmaW5pdGlvbiBvZiDigJhkYXhfc3VwcG9ydGVk4oCZJw==?= To: Stuart Little , Dan Williams , Vishal Verma , Dave Jiang , linux-nvdimm@lists.01.org Cc: kernel list References: <20200921010359.GO3027113@arch-chirva.localdomain> <20200921022550.GE3027080@arch-chirva.localdomain> From: Robert Gadsdon Message-ID: <6a352fb6-ae2d-606d-34a0-cfc8ac1c88af@gmail.com> Date: Sun, 20 Sep 2020 20:50:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200921022550.GE3027080@arch-chirva.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/20 7:25 PM, Stuart Little wrote: > An update on this: I've done a bisect, with the following result. > > --- cut here --- > > e2ec5128254518cae320d5dc631b71b94160f663 is the first bad commit > commit e2ec5128254518cae320d5dc631b71b94160f663 > Author: Jan Kara > Date: Sun Sep 20 08:54:42 2020 -0700 > > dm: Call proper helper to determine dax support > > DM was calling generic_fsdax_supported() to determine whether a device > referenced in the DM table supports DAX. However this is a helper for "leaf" device drivers so that > they don't have to duplicate common generic checks. High level code > should call dax_supported() helper which that calls into appropriate > helper for the particular device. This problem manifested itself as > kernel messages: > > dm-3: error: dax access failed (-95) > > when lvm2-testsuite run in cases where a DM device was stacked on top of > another DM device. > > Fixes: 7bf7eac8d648 ("dax: Arrange for dax_supported check to span multiple devices") > Cc: > Tested-by: Adrian Huang > Signed-off-by: Jan Kara > Acked-by: Mike Snitzer > Reported-by: kernel test robot > Link: https://lore.kernel.org/r/160061715195.13131.5503173247632041975.stgit@dwillia2-desk3.amr.corp.intel.com > Signed-off-by: Dan Williams > > drivers/dax/super.c | 4 ++++ > drivers/md/dm-table.c | 10 +++++++--- > include/linux/dax.h | 22 ++++++++++++++++++++-- > 3 files changed, 31 insertions(+), 5 deletions(-) > > --- end --- > Confirm that reverting this patch, 5.9-rc6 compiles OK ... RG.