Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3065804imm; Sun, 3 Jun 2018 18:49:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKRmn6bayIsn2dRMnzGFEB9p7mgQfuimrwQuLvqwUqntmu8H5GQBK+yRRQ6zxybi3Dv5Oav X-Received: by 2002:a63:7847:: with SMTP id t68-v6mr8179378pgc.329.1528076948287; Sun, 03 Jun 2018 18:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528076948; cv=none; d=google.com; s=arc-20160816; b=O3xxBCNh9IrBtIO1r5ZYdK/LB2R8Wb1ouMpEnoFoQLbt6Nv1TGpks983R5rvntCo5q QzW70WzTWZTjm04/BJdUQhJlEq/6FDdgl3lj2giAsgWpPdYHKcAuW6TQAbJDWbD0GDXx lLmAIHVXlPz+5223OBmI1h+udn6GUUZ7WthZ6UXzXP/WERWBtG5UDKmgEu/8G9nTHalv zooWf1kgsNRKJV8GAni6eeeeSnffk4Uet6Sv9odT0kI4zxKn2suLP2zXCUfcMLJ6j1T5 oel8ov5lku6HiRkUDNgR0yXO4FoyHgwu5/Zee1J/VqGiBc6RXv/xCCxm4c9g3pv6NtZx xzzg== 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=TeyKjuL3oAxO97EiSdNCVo/ZdUTxOPXlHPrNZoYxZJs=; b=XkqPZXYudL0cwZz3jGIsBL+j2DqM5XCfoneYAFGwmHM4J7GVqZtGbmkLLu8VJRgaRk aSpVnT0cIU9qPrygrMl3bdBxhPnGMwj21c1bMziGjuEVrocCxf2Ca5krMJ6zE4ud3Y2G iJ7zvQxxXaS1SCTkEj4IjDhLB6/oKqIx/ItK15BSiZi8GVBRbUhJs2sMnKQvTXPES/Sl 0GZh5ig9v41umIRWWJyp9x0w9gy/JLV/GjeK6cCcmLjkBJhTQmLQwEhBDh2rPl2nZphO K+QDS3jG7+gA286d0+PLR8fDSKxsbDH7a4QiVN21AOhbv8OoB4k6VUOHlfUDbZVKkUMA 21ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=JHnTM/+G; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63-v6si16732893pfx.61.2018.06.03.18.48.53; Sun, 03 Jun 2018 18:49:08 -0700 (PDT) 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=JHnTM/+G; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751817AbeFDBs1 (ORCPT + 99 others); Sun, 3 Jun 2018 21:48:27 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:37197 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbeFDBsZ (ORCPT ); Sun, 3 Jun 2018 21:48:25 -0400 Received: by mail-ot0-f195.google.com with SMTP id 101-v6so13200560oth.4 for ; Sun, 03 Jun 2018 18:48:25 -0700 (PDT) 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=TeyKjuL3oAxO97EiSdNCVo/ZdUTxOPXlHPrNZoYxZJs=; b=JHnTM/+GFGNKUJkMlP1YQlUDp3OHLbowRYodT5+HdPFc8f6wQuJV8tlVok2I7zfVOY cp6UuTEkrzsRv2y9IkoPHVF7bHl7vJAyIM7H8gX69Iv36Qavdg3Ye8b7dCOit05ZgMR2 l2BrJHnj85QawWdj7qxkqMB2M0XkOKptgt4l9RlbuznElyIh5fwNAcwRF2Uc7aelFTEz wCwPMvPicBLQhgEX+RnyP+5Oe4ojafhLSIaRN1KhryVNNuMZOOGRipR6hbrDDUjd/Nq3 McpvfV6/z2ObvW5h2FZrzJmhhPoxPSMEOfLN0/Zn9b6+RLRDRdpM7C0eKE9EegueNguc +aRw== 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=TeyKjuL3oAxO97EiSdNCVo/ZdUTxOPXlHPrNZoYxZJs=; b=D2updDU/GEiMlG/YK5YYiFKLuc4OiwzKoYvEDHVLxYOlo6pKkzMy1tyuFDi+ie1zjd Wq7sWDL+MFLGmOTdf4NiLwKk9tWKsBo20qdQ6ip1Ugr3A7V+y/zNmVtv4VcZIGXpr66W Aw80NIv7GmMUGsfReKq/jSWkmQfxDpSHrc1KRToynrioyN7npbinipWQ7Dne+15TD6rj EOHYRmUtDXecixLvsn/ETskPSt8Gg9bcrSXTBiB+OGeshrLRPip3bNzS86M1xqXFa859 m1uAls9YzjJ7rd9CB55FPpLpH9HYirDg+JIDdpjt2PyD30+8N/Oxo1yuDzW/+fFsV/qZ 84bA== X-Gm-Message-State: APt69E13uBgWS9hiMIJnB60pESuiufe2s72bMRCePY74md4LcMHPV8u9 s+v5Kp4Lfwzu3TXrrsqzuVMaA5u/T0qsdGkBeMtmiA== X-Received: by 2002:a9d:3072:: with SMTP id w47-v6mr3200350otd.387.1528076904709; Sun, 03 Jun 2018 18:48:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2ea9:0:0:0:0:0 with HTTP; Sun, 3 Jun 2018 18:48:23 -0700 (PDT) In-Reply-To: <20180604002525.GI10363@dastard> References: <20180529195106.14268-1-ross.zwisler@linux.intel.com> <20180529195106.14268-3-ross.zwisler@linux.intel.com> <20180529212510.GJ30110@magnolia> <20180529220114.GA13948@linux.intel.com> <20180531191332.GB7825@magnolia> <20180601012657.GQ10363@dastard> <20180601022418.GR10363@dastard> <20180603222038.GS10363@dastard> <20180604002525.GI10363@dastard> From: Dan Williams Date: Sun, 3 Jun 2018 18:48:23 -0700 Message-ID: Subject: Re: [PATCH v2 2/7] dax: change bdev_dax_supported() to support boolean returns To: Dave Chinner Cc: "Darrick J. Wong" , Mike Snitzer , linux-nvdimm , Linux Kernel Mailing List , linux-xfs , device-mapper development , linux-fsdevel 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 Sun, Jun 3, 2018 at 5:25 PM, Dave Chinner wrote: > On Mon, Jun 04, 2018 at 08:20:38AM +1000, Dave Chinner wrote: >> On Thu, May 31, 2018 at 09:02:52PM -0700, Dan Williams wrote: >> > On Thu, May 31, 2018 at 7:24 PM, Dave Chinner wrote: >> > > On Thu, May 31, 2018 at 06:57:33PM -0700, Dan Williams wrote: >> > >> > FWIW, XFS+DAX used to just work on this setup (I hadn't even >> > >> > installed ndctl until this morning!) but after changing the kernel >> > >> > it no longer works. That would make it a regression, yes? >> >> [....] >> >> > >> I suspect your kernel does not have CONFIG_ZONE_DEVICE enabled which >> > >> has the following dependencies: >> > >> >> > >> depends on MEMORY_HOTPLUG >> > >> depends on MEMORY_HOTREMOVE >> > >> depends on SPARSEMEM_VMEMMAP >> > > >> > > Filesystem DAX now has a dependency on memory hotplug? >> >> [....] >> >> > > OK, works now I've found the magic config incantantions to turn >> > > everything I now need on. >> >> By enabling these options, my test VM now has a ~30s pause in the >> boot very soon after the nvdimm subsystem is initialised. >> >> [ 1.523718] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled >> [ 1.550353] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A >> [ 1.552175] Non-volatile memory driver v1.3 >> [ 2.332045] tsc: Refined TSC clocksource calibration: 2199.909 MHz >> [ 2.333280] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb5dcd4620, max_idle_ns: 440795264143 ns >> [ 37.217453] brd: module loaded >> [ 37.225423] loop: module loaded >> [ 37.228441] virtio_blk virtio2: [vda] 10485760 512-byte logical blocks (5.37 GB/5.00 GiB) >> [ 37.245418] virtio_blk virtio3: [vdb] 146800640 512-byte logical blocks (75.2 GB/70.0 GiB) >> [ 37.255794] virtio_blk virtio4: [vdc] 1073741824000 512-byte logical blocks (550 TB/500 TiB) >> [ 37.265403] nd_pmem namespace1.0: unable to guarantee persistence of writes >> [ 37.265618] nd_pmem namespace0.0: unable to guarantee persistence of writes >> >> The system does not appear to be consuming CPU, but it is blocking >> NMIs so I can't get a CPU trace. For a VM that I rely on booting in >> a few seconds because I reboot it tens of times a day, this is a >> problem.... > > And when I turn on KASAN, the kernel fails to boot to a login prompt > because: What's your qemu and kernel command line? I'll take look at this first thing tomorrow.