Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1304189

[PATCH v8 0/9] DAX fsync/msync support

From Ross Zwisler <ross.zwisler@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v8 0/9] DAX fsync/msync support
Date 2016-01-08 06:30 +0100
Message-ID <qOxMB-28c-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Changes since v7 [1]:

1) Update patch 1 so that we initialize bh->b_bdev before passing it to
get_block() instead of working around the fact that it could still be NULL
after get_block() completes. (Dan)

2) Add a check to dax_radix_entry() so that we WARN_ON_ONCE() and exit
gracefully if we find a page cache entry still in the radix tree when
trying to insert a DAX entry.

This series replaces v7 in the MM tree and in the "akpm" branch of the next
tree.  A working tree can be found here:

https://git.kernel.org/cgit/linux/kernel/git/zwisler/linux.git/log/?h=fsync_v8

[1]: https://lists.01.org/pipermail/linux-nvdimm/2016-January/003886.html

Ross Zwisler (9):
  dax: fix NULL pointer dereference in __dax_dbg()
  dax: fix conversion of holes to PMDs
  pmem: add wb_cache_pmem() to the PMEM API
  dax: support dirty DAX entries in radix tree
  mm: add find_get_entries_tag()
  dax: add support for fsync/msync
  ext2: call dax_pfn_mkwrite() for DAX fsync/msync
  ext4: call dax_pfn_mkwrite() for DAX fsync/msync
  xfs: call dax_pfn_mkwrite() for DAX fsync/msync

 arch/x86/include/asm/pmem.h |  11 +--
 fs/block_dev.c              |   2 +-
 fs/dax.c                    | 215 ++++++++++++++++++++++++++++++++++++++++----
 fs/ext2/file.c              |   4 +-
 fs/ext4/file.c              |   4 +-
 fs/inode.c                  |   2 +-
 fs/xfs/xfs_file.c           |   7 +-
 include/linux/dax.h         |   7 ++
 include/linux/fs.h          |   3 +-
 include/linux/pagemap.h     |   3 +
 include/linux/pmem.h        |  22 ++++-
 include/linux/radix-tree.h  |   9 ++
 mm/filemap.c                |  91 +++++++++++++++++--
 mm/truncate.c               |  69 +++++++-------
 mm/vmscan.c                 |   9 +-
 mm/workingset.c             |   4 +-
 16 files changed, 393 insertions(+), 69 deletions(-)

-- 
2.5.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/9] DAX fsync/msync support Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-08 06:30 +0100
  [PATCH v8 5/9] mm: add find_get_entries_tag() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-08 06:40 +0100
  [PATCH v8 3/9] pmem: add wb_cache_pmem() to the PMEM API Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-08 06:40 +0100
  [PATCH v8 1/9] dax: fix NULL pointer dereference in __dax_dbg() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-08 06:40 +0100
    Re: [PATCH v8 1/9] dax: fix NULL pointer dereference in __dax_dbg() Jan Kara <jack@suse.cz> - 2016-01-12 10:40 +0100
      Re: [PATCH v8 1/9] dax: fix NULL pointer dereference in __dax_dbg() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-13 08:10 +0100
        Re: [PATCH v8 1/9] dax: fix NULL pointer dereference in __dax_dbg() Jan Kara <jack@suse.cz> - 2016-01-13 10:10 +0100
  [PATCH v8 2/9] dax: fix conversion of holes to PMDs Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-08 06:40 +0100
    Re: [PATCH v8 2/9] dax: fix conversion of holes to PMDs Jan Kara <jack@suse.cz> - 2016-01-12 10:50 +0100
      Re: [PATCH v8 2/9] dax: fix conversion of holes to PMDs Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-01-13 08:40 +0100

csiph-web