Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2929225imm; Sun, 3 Jun 2018 15:21:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLlHOOpqPhZ7+vv0gyArydkFPWZO4bS+gS2m902uv57Pz46sbuBw0Sfa998vcucW9x8qQHc X-Received: by 2002:a63:b543:: with SMTP id u3-v6mr10076792pgo.365.1528064502240; Sun, 03 Jun 2018 15:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528064502; cv=none; d=google.com; s=arc-20160816; b=swbfC+mMiGO2WuO7WV+dfwKaL0nVGOqOrOCBXj15NGwYmOjzmyCN3B/FfgwtKUnLU7 aoq7k9yCLV7xYa+vNL7D2/FyY35fsQcjV4spN+Klb4FcPbQjmVLdk5U23ZFryK9B1HgU TK0ZofFrBtG8S4LXRIIgPJQ9QcdZdCilXKqK2K2XadPG/1M+0CmvmKtC7tg5lgnaqcYk Hs7cxFz2XUqnnVofFxkUIKaZFco2qJMVlRO3IyibJNx8Lv24HzdP/jSvgdLs/swOafnH 4t3BVpfiUX4GDt1Vko/UrqAo7ziYYp5I9IwhmR2CxqhkQs30O86Ma2URRxFXFK6/XmkX LPWQ== 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:arc-authentication-results; bh=2zUwoWA8h9ZnCT+Vmvz8sWotzETqPxZJIoM2hFq24Fo=; b=zaIAC4gGkeLBdKio47sEa99p4TDEq1PYvt2ZFwMvUpcoW8aYeogJH3yS8iRiFNhjBw GubzfBJ/ft+mXts/riGEuLLphlTA7mrIBUTlGQp4wVvrzGZtBL6t/+6+EyILHGMnbCOt +I2lmoli/42fFNHu9bM/RViH7Kfn4Q0tnmsRdT+xi2wij/nWXFhnbUZ0LeYQZqmD5nrD 8QZriNxx7A4a8L8ksxukWguey9WXbSOuABAGgJYFekOMpyugGeEAfnTlKTQqXyn7lWaO yK92YLfaotscJeI5odkzIYDHDB2UYo2/DkeOBIfcMXfHuSaBxD4NNdyGVZ+tc2YS06hU Ffhg== ARC-Authentication-Results: i=1; mx.google.com; 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 e5-v6si12356882pgp.105.2018.06.03.15.21.16; Sun, 03 Jun 2018 15:21:42 -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; 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 S1751511AbeFCWUn (ORCPT + 99 others); Sun, 3 Jun 2018 18:20:43 -0400 Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:25616 "EHLO ipmail06.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbeFCWUm (ORCPT ); Sun, 3 Jun 2018 18:20:42 -0400 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail06.adl2.internode.on.net with ESMTP; 04 Jun 2018 07:50:39 +0930 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1fPbMc-0008G7-7W; Mon, 04 Jun 2018 08:20:38 +1000 Date: Mon, 4 Jun 2018 08:20:38 +1000 From: Dave Chinner To: Dan Williams Cc: "Darrick J. Wong" , Mike Snitzer , linux-nvdimm , Linux Kernel Mailing List , linux-xfs , device-mapper development , linux-fsdevel Subject: Re: [PATCH v2 2/7] dax: change bdev_dax_supported() to support boolean returns Message-ID: <20180603222038.GS10363@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.... Cheers, Dave. -- Dave Chinner david@fromorbit.com