[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1439484671-15718-1-git-send-email-ross.zwisler@linux.intel.com>
Date: Thu, 13 Aug 2015 10:51:04 -0600
From: Ross Zwisler <ross.zwisler@...ux.intel.com>
To: linux-kernel@...r.kernel.org, linux-nvdimm@...ts.01.org,
Dan Williams <dan.j.williams@...el.com>
Cc: Ross Zwisler <ross.zwisler@...ux.intel.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Ameen Ali <ameenali023@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Boaz Harrosh <boaz@...xistor.com>,
Borislav Petkov <bp@...e.de>, Christoph Hellwig <hch@....de>,
"David S. Miller" <davem@...emloft.net>,
Gerald Schaefer <gerald.schaefer@...ibm.com>,
Greg KH <gregkh@...uxfoundation.org>,
Heiko Carstens <heiko.carstens@...ibm.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Jan Kara <jack@...e.cz>, Jeff Layton <jlayton@...marydata.com>,
Jens Axboe <axboe@...nel.dk>, Jiri Slaby <jslaby@...e.com>,
Joe Perches <joe@...ches.com>,
Jonathan Corbet <corbet@....net>,
Juergen Gross <jgross@...e.com>, linux390@...ibm.com,
linux-doc@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-s390@...r.kernel.org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Matthew Wilcox <willy@...ux.intel.com>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
Michael Ellerman <mpe@...erman.id.au>,
Mike Snitzer <snitzer@...hat.com>,
Miklos Szeredi <mszeredi@...e.cz>,
Ming Lei <ming.lei@...onical.com>,
Omar Sandoval <osandov@...ndov.com>,
Paul Mackerras <paulus@...ba.org>,
Sagi Grimberg <sagig@...lanox.com>, Shaohua Li <shli@...com>,
Tejun Heo <tj@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Toshi Kani <toshi.kani@...com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Wolfram Sang <wsa@...-dreams.de>,
x86@...nel.org, Dave Chinner <david@...morbit.com>
Subject: [PATCH v2 0/7] dax: I/O path enhancements
The goal of this series is to enhance the DAX I/O path so that all operations
that store data (I/O writes, zeroing blocks, punching holes, etc.) properly
synchronize the stores to media using the PMEM API. This ensures that the data
DAX is writing is durable on media before the operation completes.
Patches 1-4 are a few random cleanups.
Changes from v1:
- Removed patches to PMEM for the "read flush" _DSM flag. These are different
enough that they deserve their own series, and they have a separate baseline
which is currently moving (Dan's memremap() series).
- Added clear_pmem() PMEM API to zero DAX memory and flush it in one call.
(Dave)
- Open coded flushing in arch_wb_cache_pmem() instead of adding a generic
clwb_flush_range(). This allowed me to avoid having extra memory barriers
and instead rely completely on arch_wmb_pmem() for ordering. (Dave)
- Moved the arch implementation of the PMEM API into it's own arch header
(Christoph).
Ross Zwisler (7):
brd: make rd_size static
pmem, x86: move x86 PMEM API to new pmem.h header
pmem: remove layer when calling arch_has_wmb_pmem()
pmem, x86: clean up conditional pmem includes
pmem: add wb_cache_pmem() and clear_pmem()
dax: update I/O path to do proper PMEM flushing
pmem, dax: have direct_access use __pmem annotation
Documentation/filesystems/Locking | 3 +-
MAINTAINERS | 1 +
arch/powerpc/sysdev/axonram.c | 7 ++-
arch/x86/include/asm/cacheflush.h | 71 ----------------------
arch/x86/include/asm/pmem.h | 123 ++++++++++++++++++++++++++++++++++++++
drivers/block/brd.c | 6 +-
drivers/nvdimm/pmem.c | 4 +-
drivers/s390/block/dcssblk.c | 10 ++--
fs/block_dev.c | 2 +-
fs/dax.c | 73 ++++++++++++++--------
include/linux/blkdev.h | 8 +--
include/linux/pmem.h | 66 ++++++++++++++++----
12 files changed, 247 insertions(+), 127 deletions(-)
create mode 100644 arch/x86/include/asm/pmem.h
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists