From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756140AbbJVGr1 (ORCPT ); Thu, 22 Oct 2015 02:47:27 -0400 Received: from mga14.intel.com ([192.55.52.115]:26812 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbbJVGr0 (ORCPT ); Thu, 22 Oct 2015 02:47:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,181,1444719600"; d="scan'208";a="585826402" Subject: [PATCH 0/5] block, dax: updates for 4.4 From: Dan Williams To: axboe@fb.com Cc: Jens Axboe , Boaz Harrosh , jack@suse.cz, linux-nvdimm@ml01.01.org, Dave Hansen , david@fromorbit.com, linux-kernel@vger.kernel.org, hch@lst.de, Jeff Moyer , Al Viro , willy@linux.intel.com, akpm@linux-foundation.org, ross.zwisler@linux.intel.com Date: Thu, 22 Oct 2015 02:41:42 -0400 Message-ID: <20151022064142.12700.11849.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As requested [1], break out the block specific updates from the dax-gup series [2], to merge via the block tree. 1/ Enable dax mappings for raw block devices. This addresses the review comments (from Ross and Honza) from the RFC [3]. 2/ Introduce dax_map_atomic() to fix races between device teardown and new mapping requests. This depends on commit 2a9067a91825 "block: generic request_queue reference counting" in for-4.4/integrity branch of the block tree. 3/ Cleanup clear_pmem() and its usage in dax. This depends on commit 0f90cc6609c7 "mm, dax: fix DAX deadlocks" that was merged into v4.3-rc6. These pass the nvdimm unit tests and have passed a 0day-kbuild-robot run. [1]: https://lists.01.org/pipermail/linux-nvdimm/2015-October/002531.html [2]: https://lists.01.org/pipermail/linux-nvdimm/2015-October/002387.html [3]: https://lists.01.org/pipermail/linux-nvdimm/2015-October/002512.html --- Dan Williams (5): pmem, dax: clean up clear_pmem() dax: increase granularity of dax_clear_blocks() operations block, dax: fix lifetime of in-kernel dax mappings with dax_map_atomic() block: introduce file_bd_inode() block: enable dax for raw block devices arch/x86/include/asm/pmem.h | 7 -- block/blk.h | 2 fs/block_dev.c | 73 ++++++++++++++-- fs/dax.c | 196 +++++++++++++++++++++++++++---------------- include/linux/blkdev.h | 2 5 files changed, 191 insertions(+), 89 deletions(-)