Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2391404ybd; Thu, 27 Jun 2019 11:31:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdtA1lDl4pdxgxPTYP+rgGJWgCW8tzzsJnl4AkGuSp7/xqg86Gnny/yv/LNmrSv8lQFQrr X-Received: by 2002:a17:902:8490:: with SMTP id c16mr6409007plo.1.1561660310008; Thu, 27 Jun 2019 11:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561660310; cv=none; d=google.com; s=arc-20160816; b=iLWbjyd3NqDLrZSWE5z5k4LXcg4kfq5aaFPyU01dCOLjkgEd/dxWWdYu3JkHcoGo0Z 9MQ0AwHDaT67ZT+pE19XAysR5KxPqsKTn/Af4uQ4bOQK3ImY+pIzVTxq3ECG/LjriSeD ZUnbp8L+usAbYbOB6GBbZ5O+0Ucd5smVgr5pGaBGGKP8uEtu6oH3tzQ9l8pRPiIPvQ+K xhz00B3O/ruCDygB8zSDZ0Dv996jBIJcuFVySWag/0pYgcnv476NMK38nrEzZo67DxTt NEOodTgpd6teiLLaRoNYpmidooHRNSeNx4F7Hl1wxDmy0o3vGzLnGuGV1TZBafdWwoGP 1wOw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=7E3kE8wu6XArETAHziQvnZYV/Eha0av5p2dljNuncOs=; b=B98VfwRgknOxy1KhhRCCKtLwPf/IGoPqt7K7tsZeg6E2EhpCtxRpeMVumGBa3/olIU cV7U4bH4JgGD2PIvWQYbs2YIqRlcyxY9mbjaqigNYpqAzZLPY6KL5anhyZxMFdhM9mZI CpIKMhe9iVZ7+VlY7NskDFDOq993gW7GRX4+XAsrytgLLhb77Cf/fxdbjKNzl14rBtiX xv/T2NxSpNsakkNRsLmLZyRgaVEWObEgDAmiPkIfc7+6N7hZ/vB681l/PBWNyfXSrOlM evJvooK+uxf3tdRqDdgeBfGosflrtpXjQJOkrY+ARy9ltVhDGYgVEdu+/19Iltf/W7ok q3Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=foFvp30D; 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 m20si233657pjn.40.2019.06.27.11.31.33; Thu, 27 Jun 2019 11:31:49 -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=foFvp30D; 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 S1726508AbfF0SaG (ORCPT + 99 others); Thu, 27 Jun 2019 14:30:06 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:39769 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfF0SaF (ORCPT ); Thu, 27 Jun 2019 14:30:05 -0400 Received: by mail-ot1-f65.google.com with SMTP id r21so2627172otq.6 for ; Thu, 27 Jun 2019 11:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7E3kE8wu6XArETAHziQvnZYV/Eha0av5p2dljNuncOs=; b=foFvp30DG07jcUeEQRk8SMFfwd/Wva8/DnhLRWyqOIEHY3iQ0bH3xBBjNEWt1UAb9i aSc3lqlBun4TcabEhTjxpZ+OkIyuycNXsXlxccJejQbd632UL5dTF0ReYx9tgjN1LZpK mBX/S+GBhEMY+hKQwLcUyojf3H+OPilbFg/JD2SVMM8M3MT8ZlLkX9kEa99YULT2J3wq SG/RSlHZrZLlAxovfeBCH2Ijpak7jmNP8mbWhWYFIOM4MtwTQ47fcYTztP21tUI+pIKW 0YYfQqSutj9IcqcAXAchA74/rzypF+j+tEfioCqOTkayP1R9aOB5o1e55rrlVcQGp0yZ oBsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7E3kE8wu6XArETAHziQvnZYV/Eha0av5p2dljNuncOs=; b=LbBKY9jvel2dYvRM9XrO726K3CTbyo1gMGj0Jt5nPqQB45dqKpiYn26dUpKqL/fzAU RMPrDn0Fso2yLOyoDG2W10YKMCPK21K9LgIK0S2Ua5XWvz2dDjlbW70hnGA81gs1mVCf PS7hr3ZARig96Ln8Sng12Ia0HnJkEaxmyHM3uzNoL6QAZIjxC33YxFdCwee1RhsxQkPQ +XZHq6q6+8Z2ke8ousPRycfCRH/idHYW8Hwq+Yet+8hNDw6nahO6FTkgjD9Cmr6PHTM0 rwALXYDxti1JM0zRoH7bu7MZz1WgKwpVgxSvJHi2vr3rbssd/FQTYbyKAaetwbmyjQaU x8eA== X-Gm-Message-State: APjAAAW//Vyk6S2OUTws3FEsMYL+TSSm5+4ioT5Smq98dItEu6I3nFrn Q2M2LIkSBmPoim+FnTFmhhaGrmlxbZANypSqW0QQhg== X-Received: by 2002:a9d:7b48:: with SMTP id f8mr4463320oto.207.1561660204791; Thu, 27 Jun 2019 11:30:04 -0700 (PDT) MIME-Version: 1.0 References: <156159454541.2964018.7466991316059381921.stgit@dwillia2-desk3.amr.corp.intel.com> <20190627123415.GA4286@bombadil.infradead.org> In-Reply-To: From: Dan Williams Date: Thu, 27 Jun 2019 11:29:53 -0700 Message-ID: Subject: Re: [PATCH] filesystem-dax: Disable PMD support To: Matthew Wilcox Cc: linux-nvdimm , Jan Kara , stable , Robert Barror , Seema Pandit , linux-fsdevel , Linux Kernel Mailing List 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 Thu, Jun 27, 2019 at 9:06 AM Dan Williams wrote: > > On Thu, Jun 27, 2019 at 5:34 AM Matthew Wilcox wrote: > > > > On Wed, Jun 26, 2019 at 05:15:45PM -0700, Dan Williams wrote: > > > Ever since the conversion of DAX to the Xarray a RocksDB benchmark has > > > been encountering intermittent lockups. The backtraces always include > > > the filesystem-DAX PMD path, multi-order entries have been a source of > > > bugs in the past, and disabling the PMD path allows a test that fails in > > > minutes to run for an hour. > > > > On May 4th, I asked you: > > > > Since this is provoked by a fatal signal, it must have something to do > > with a killable or interruptible sleep. There's only one of those in the > > DAX code; fatal_signal_pending() in dax_iomap_actor(). Does rocksdb do > > I/O with write() or through a writable mmap()? I'd like to know before > > I chase too far down this fault tree analysis. > > RocksDB in this case is using write() for writes and mmap() for reads. It's not clear to me that a fatal signal is a component of the failure as much as it's the way to detect that the benchmark has indeed locked up.