linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] fs, dax: lookup dax_device at mount time
@ 2017-08-30 19:43 Dan Williams
       [not found] ` <150412222686.10177.8031279869867070772.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Dan Williams @ 2017-08-30 19:43 UTC (permalink / raw)
  To: linux-xfs, linux-ext4
  Cc: Jan Kara, linux-nvdimm, Darrick J. Wong, Andreas Dilger,
	Theodore Ts'o, Christoph Hellwig

Changes since v2 [1]:
* Split fs_dax_get_by_bdev() to its own patch (Christoph)

* Push dax_device reference management into <fs>_{fill,put}_super()
  rather than the generic vfs. (Christoph)

[1]: https://lists.01.org/pipermail/linux-nvdimm/2017-August/012133.html

---

Christoph notes:

    I just noticed that we now do a fs_dax_get_by_host in every
    iomap_begin call for DAX. This function iterates a list, does a
    string compared and igrab. I really think we need to cache this in
    the superblock (possible even the fs superblock) similar to what we
    do for the block device.

This passes the libnvdimm unit tests.

---

Dan Williams (4):
      dax: introduce a fs_dax_get_by_bdev() helper
      xfs: perform dax_device lookup at mount
      ext2: perform dax_device lookup at mount
      ext4: perform dax_device lookup at mount


 drivers/dax/super.c |   10 ++++++++++
 fs/ext2/ext2.h      |    1 +
 fs/ext2/inode.c     |   11 +++--------
 fs/ext2/super.c     |    5 +++++
 fs/ext4/ext4.h      |    1 +
 fs/ext4/inode.c     |   11 +++--------
 fs/ext4/super.c     |    5 +++++
 fs/xfs/xfs_aops.c   |   13 +++++++++++++
 fs/xfs/xfs_aops.h   |    1 +
 fs/xfs/xfs_buf.c    |    4 +++-
 fs/xfs/xfs_buf.h    |    3 ++-
 fs/xfs/xfs_iomap.c  |   10 +---------
 fs/xfs/xfs_super.c  |   25 +++++++++++++++++++++----
 include/linux/dax.h |    6 ++++++
 14 files changed, 75 insertions(+), 31 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-08-31 14:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 19:43 [PATCH v3 0/4] fs, dax: lookup dax_device at mount time Dan Williams
     [not found] ` <150412222686.10177.8031279869867070772.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-30 19:43   ` [PATCH v3 1/4] dax: introduce a fs_dax_get_by_bdev() helper Dan Williams
2017-08-30 21:39     ` Darrick J. Wong
     [not found]     ` <150412223265.10177.11004612169458058274.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-31  8:25       ` Jan Kara
2017-08-31  9:55     ` Christoph Hellwig
2017-08-30 19:43   ` [PATCH v3 2/4] xfs: perform dax_device lookup at mount Dan Williams
2017-08-30 21:42     ` Darrick J. Wong
2017-08-31  9:56     ` Christoph Hellwig
2017-08-30 19:44 ` [PATCH v3 3/4] ext2: " Dan Williams
2017-08-31  8:22   ` Jan Kara
2017-08-31 14:20     ` Dan Williams
2017-08-30 19:44 ` [PATCH v3 4/4] ext4: " Dan Williams
2017-08-31  8:24   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).