Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1364598pxb; Fri, 21 Jan 2022 16:36:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1noO6H3fSx71faBKnL4OyLpMPUnScfj5eDLmcYK8OPSXH5DOkGT3EeIPyKzUPTLn2GiMX X-Received: by 2002:a17:90b:4a08:: with SMTP id kk8mr292114pjb.109.1642811783630; Fri, 21 Jan 2022 16:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642811783; cv=none; d=google.com; s=arc-20160816; b=oMX1CJ4MctzqnW66gufI1O81OvVPgSr4JLjtqNF0Go2U6uvHpT18g6fx1NGJ8NnhFK V4OyvdV5NeN86yNXo/yj9a0AVjsDOqJxg2qHue7y32d6M8APLP3Z7YmfTJUqtj2NGOAT yXFlGcVYMXBopeoJLfnwhPQbtk/bRHHJF0Yzmp48G56SzAUkfjeSaHo2pY4JcT/PQv2k bdYVwYoFl+okSBE4q3XT2ATSSYjyZBDH4H+WqADxDPLzZz/dUNSUG/H+AxuvPaTTylr0 dsNx1ma7YZ6cHmiX7OE2XvgbP6u36pISQ6vgY4B6hxpRnn3KfDrsWd1blLW8Ae8n1XVI BiZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yFPxDUUe1fppNO0I1fDa7AQSMUJ89zWSqQ4St/CxUW8=; b=jG0SR9Kfnz2hkrsEEIzGi4yWK2L9NimfBRA0eLDf1TAW9xUQbmLI642dieRPV2EkCX EK4wBVOTRbFAbKmGTIVo+dL1j1oIP8tXERopYspaCn1/j3ur/u0udh39dDTWJnKzsJ39 sJHLGHgngTagcrOVyq9AYahugcFWYDRtICX9kdDAPxuM+QB/UfPF42mMA26PXt8uPfod E/2z83kDcqFze0kZYeEZik0T5g3aUnXem1pFk0+KkS+m39gChbe5ysEVI6wERUQmtMYU OvwGYswTgCNfonlH2aNq+zc9DXfvK0g7lVHJmjuvbaF9JTSJghpwn544CfPdNl581eKm tC8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=re5gJo5P; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si8210180pgq.238.2022.01.21.16.36.12; Fri, 21 Jan 2022 16:36:23 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=re5gJo5P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378895AbiAUHRm (ORCPT + 99 others); Fri, 21 Jan 2022 02:17:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378864AbiAUHRg (ORCPT ); Fri, 21 Jan 2022 02:17:36 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D290C061574; Thu, 20 Jan 2022 23:17:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=yFPxDUUe1fppNO0I1fDa7AQSMUJ89zWSqQ4St/CxUW8=; b=re5gJo5P3fM6JbXabIyQgDSFuL 2/c/R1kbmGwM9wnFvcVIbtFV6CPKFG9KTLSuDQkKjGa7WNFhDfqwXK8gLbDqtDaEMLLkSvfF1Rw68 m15Kn9nvJWBn4B4wYwj1beL1ETujNA/HHaYmLvJM1tinQimQSEbY3tHoWaFsZhrCy0q7ReWHsApIq 7FNG6Ycsi2kWOXn0+33z2cwtPVagIqc4tKLK2Q0YpAKyEXB6MkHql2Px/ou3XS9ptRM0ecbOxqpQB qLixJ458q3LMWO/T57T734HDJV6QUdtx8nSwdkI9MtVzW4rRmkebbT/b2TvZFx5kS+5khxoY0iyXY j6+9XE0A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAoAu-00E2IP-QD; Fri, 21 Jan 2022 07:17:32 +0000 Date: Thu, 20 Jan 2022 23:17:32 -0800 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Shiyang Ruan , Christoph Hellwig , Dan Williams , Linux Kernel Mailing List , linux-xfs , Linux NVDIMM , Linux MM , linux-fsdevel , david , Jane Chu Subject: Re: [PATCH v9 02/10] dax: Introduce holder for dax_device Message-ID: References: <20220105185626.GE398655@magnolia> <20220105224727.GG398655@magnolia> <20220105235407.GN656707@magnolia> <76f5ed28-2df9-890e-0674-3ef2f18e2c2f@fujitsu.com> <20220121022200.GG13563@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220121022200.GG13563@magnolia> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022 at 06:22:00PM -0800, Darrick J. Wong wrote: > Hm, so that means XFS can only support dax+pmem when there aren't > partitions in use? Ew. Yes. Or any sensible DAX usage going forward for that matter. > > > > (2) extent the holder mechanism to cover a rangeo > > I don't think I was around for the part where "hch balked at a notifier > call chain" -- what were the objections there, specifically? I would > hope that pmem problems would be infrequent enough that the locking > contention (or rcu expiration) wouldn't be an issue...? notifiers are a nightmare untype API leading to tons of boilerplate code. Open coding the notification is almost always a better idea.