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 9CA7D3FC8 for ; Wed, 22 Sep 2021 18:34:26 +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=Qqldk7sdvHBY22jrcIyHKJRXVO rLO9aECVrvCFmsuU+l9fCz2wUo/b7pgKdbugrksVqaR3fnZu0rwMa9gqBxJazhdGHmKR6DbPkCAR1 XYCD4EYZ36/C29cB1GZHfZjytLlhdFw7zEtvsD0mxNkokiRUGrx3Ov3wZzjtR1X0oyHGhLfXAmSIO zvnvM5X0jR3GTmqCdPe5HI9JHIUGoKIYePS5HC4/neURVUNQfFgIGFV6AWGHL1APomqyDaxciy9hB 9ZpRRJ+4GGKaXYPLluMHEMyt8VXYShbD7TJ+Sq/3793Fd9pIIAFr2jRFwvqdxCiiRq83i8vwNEsKs WZswe9NQ==; Received: from [2001:4bb8:184:72db:3a8e:1992:6715:6960] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT73m-0052Ig-5b; Wed, 22 Sep 2021 18:33:53 +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: Wed, 22 Sep 2021 20:33:28 +0200 Message-Id: <20210922183331.2455043-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(-)