From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45395C4CECE for ; Thu, 19 Sep 2019 15:11:02 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F1D5221848 for ; Thu, 19 Sep 2019 15:11:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="1tUJ1PV5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1D5221848 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 371D8202EBEC3; Thu, 19 Sep 2019 08:10:07 -0700 (PDT) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::334; helo=mail-ot1-x334.google.com; envelope-from=dan.j.williams@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2D36C2194EB70 for ; Thu, 19 Sep 2019 08:10:05 -0700 (PDT) Received: by mail-ot1-x334.google.com with SMTP id g13so3372558otp.8 for ; Thu, 19 Sep 2019 08:10:59 -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=rbAvn/fLEtrrbaQbOBPcQV2Gd+t+4OCja+ZvjJ+cvBY=; b=1tUJ1PV5mp5IFCPouteKt3ZHHGTdt7tsLvMkNNjDewW8VoSvN+XLXF75M/Is74D3NX /Ts89zWuG0b9DurQK4RyN4w8Dv8lRCU6F8V0Wne64w8HLeOLHnXv2k7FjjsHhiDDm2Cu xd6XrQM0bhxGG0sUbUsKjwsQZeG/w4f/dO+t2bkNV9cyzFQDvoyEQOTIAckAwse0IgVt Fejzt6tKAecO1Hgp6jQz2laXGISoch4eR/B32uZdyP6TJf30C8fNhDuU5CrWSewLD2W7 GX7nPKU8SPLS8wrwiCj/b5t8qUwMhxGgW3Y5c6fEeUIlHBlMcF7nMhnmkwzm30nztZQk onTg== 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=rbAvn/fLEtrrbaQbOBPcQV2Gd+t+4OCja+ZvjJ+cvBY=; b=cDDgCGH+8/V7xYNHRWSuvGvHqKgCsN9WVU7AU7doEnurxv42/W9jY9RuVhfT0dT9Qs zGMOAGA2s53UtouRC/+rBoJqMAxqek2jbRcEl9sBVOfTNN5V5OeZEykOg4Vpl6mBUiK7 w5DZIl3WAAVZ/fzC9pewHQVizGlEAgqDanU1YQhHT+3Us/r613RXr1u5tCsj3NorL1V0 PdqvUw8sq1Heg6oynNE+wdc6jdj/JGEZAVOxS+UKJL0yMJrJtIpg5tkgT4SwamB3iLg9 rHmE0fa0Fdf4boTBoE8FvcJhhEuuApf+6di0g3A7OR+9YY7otAxZDgy/yFJ4zQvGoFrq 4poQ== X-Gm-Message-State: APjAAAWL1OLREK9f8wBlr107LKj85K0IZe1YWzDn5K1JkrP0mgMIKAna j9F2lXEiHygctqfY/XYga+pYqTEITDEtXQrxJcRkPQ== X-Google-Smtp-Source: APXvYqx2S5k+z4ZGv2dic61Adqm9i+k8xPppFEEZfMjADh6MmXT7takWWFxweMitbxwXrHeLHzlFZr+Ek6IOIK/zQss= X-Received: by 2002:a9d:6014:: with SMTP id h20mr6930613otj.207.1568905858399; Thu, 19 Sep 2019 08:10:58 -0700 (PDT) MIME-Version: 1.0 References: <20190919115547.GA17963@angband.pl> In-Reply-To: <20190919115547.GA17963@angband.pl> From: Dan Williams Date: Thu, 19 Sep 2019 08:10:47 -0700 Message-ID: Subject: Re: hang in dax_pmem_compat_release on changing namespace mode To: Adam Borowski X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-nvdimm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" On Thu, Sep 19, 2019 at 4:56 AM Adam Borowski wrote: > > Hi! > If I try to change the mode of a devdax namespace that's in use (mapped by > some process), ndctl hangs: Is it merely mapped, or might the pages be actively pinned / in use by another part of the kernel? The kernel has no choice but to wait for active page pins to drain. Can you get a stack trace of the process with the dev-dax instance mapped? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm