From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AB6A72 for ; Mon, 20 Sep 2021 07:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=4qmK5NhvGVzzMGRfpnQq6oGtQAHH/DFWMMTjbybRt/U=; b=rkN1YhM6AjGJ92OxKuqn3OTRWG jIEJIg5pjhcOmmu/fBLvsp/mEREpSYmXWSFnZMVO93MlQQ0u+HdWCK66auOl8WjUjHg1hxadr0pPi qio2fpDK98dIZUl7lAy8QKZKUE6eXXF4LS07mJSfxvHIhA2UvBXe1xvvQCJe2FYfjMXh2JiKQO2km 2q7ypsnmlsE7V67jwOGZg70/d7cx5D8apIN/sJXornkos4lFsFXIQXtF3FxxzuBiq2IEkmJ2gaBw3 +pNMzZIUomF89jFt11CYU3MQjJi1N2Almh1lVq44OHDW9u8yVbJ7taxtk/N+OZC4tSWZLahkmF0xz lx9lgscQ==; Received: from 213-225-6-64.nat.highway.a1.net ([213.225.6.64] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSDi5-002SRp-G7; Mon, 20 Sep 2021 07:27:38 +0000 From: Christoph Hellwig To: Dan Williams , Jens Axboe Cc: Vishal Verma , Dave Jiang , Ira Weiny , linux-block@vger.kernel.org, nvdimm@lists.linux.dev Subject: fix a dax/block device attribute registration regression Date: Mon, 20 Sep 2021 09:27:23 +0200 Message-Id: <20210920072726.1159572-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Hi Dan and Jens, this series fixed a regression in how the dax/write_cache attribute of the pmem devices was registere. It does so by both fixing the API abuse in the driver and (temporarily) the behavior change in the block layer that made this API abuse not work anymore. Diffstat: block/genhd.c | 3 +- drivers/dax/super.c | 64 -------------------------------------------------- drivers/nvdimm/pmem.c | 48 ++++++++++++++++++++++++++++++++++--- include/linux/dax.h | 2 - 4 files changed, 46 insertions(+), 71 deletions(-)