{"id":806354,"url":"http://patchwork.ozlabs.org/api/1.0/covers/806354/?format=json","project":{"id":8,"url":"http://patchwork.ozlabs.org/api/1.0/projects/8/?format=json","name":"Linux ext4 filesystem development","link_name":"linux-ext4","list_id":"linux-ext4.vger.kernel.org","list_email":"linux-ext4@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<150389211501.25151.6477753201827914462.stgit@dwillia2-desk3.amr.corp.intel.com>","date":"2017-08-28T03:48:35","name":"[v2,0/2] fs, dax: lookup dax_device at mount time","submitter":{"id":347,"url":"http://patchwork.ozlabs.org/api/1.0/people/347/?format=json","name":"Dan Williams","email":"dan.j.williams@intel.com"},"series":[{"id":64,"url":"http://patchwork.ozlabs.org/api/1.0/series/64/?format=json","date":"2017-08-28T03:48:35","name":"fs, dax: lookup dax_device at mount time","version":2,"mbox":"http://patchwork.ozlabs.org/series/64/mbox/"}],"headers":{"Return-Path":"<linux-ext4-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-ext4-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgdFh512bz9s81\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 28 Aug 2017 13:55:04 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751876AbdH1DzB (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 27 Aug 2017 23:55:01 -0400","from mga05.intel.com ([192.55.52.43]:10923 \"EHLO mga05.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751768AbdH1DzA (ORCPT <rfc822;linux-ext4@vger.kernel.org>);\n\tSun, 27 Aug 2017 23:55:00 -0400","from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga105.fm.intel.com with ESMTP; 27 Aug 2017 20:54:59 -0700","from dwillia2-desk3.jf.intel.com (HELO\n\tdwillia2-desk3.amr.corp.intel.com) ([10.54.39.125])\n\tby fmsmga001.fm.intel.com with ESMTP; 27 Aug 2017 20:54:59 -0700"],"X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.41,439,1498546800\"; d=\"scan'208\";a=\"1188719387\"","Subject":"[PATCH v2 0/2] fs, dax: lookup dax_device at mount time","From":"Dan Williams <dan.j.williams@intel.com>","To":"linux-fsdevel@vger.kernel.org","Cc":"jack@suse.cz, \"Darrick J. Wong\" <darrick.wong@oracle.com>,\n\tlinux-nvdimm@lists.01.org, linux-xfs@vger.kernel.org,\n\tAndreas Dilger <adilger.kernel@dilger.ca>,\n\tJan Kara <jack@suse.com>, Theodore Ts'o <tytso@mit.edu>,\n\tlinux-ext4@vger.kernel.org, hch@lst.de","Date":"Sun, 27 Aug 2017 20:48:35 -0700","Message-ID":"<150389211501.25151.6477753201827914462.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-ext4-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-ext4.vger.kernel.org>","X-Mailing-List":"linux-ext4@vger.kernel.org"},"content":"Changes since v1:\n* Move the lookup to mount time. (Christoph)\n\n---\n\nChristoph notes:\n\n    I just noticed that we now do a fs_dax_get_by_host in every\n    iomap_begin call for DAX. This function iterates a list, does a\n    string compared and igrab. I really think we need to cache this in\n    the superblock (possible even the fs superblock) similar to what we\n    do for the block device.\n\nThis passes the libnvdimm unit tests.\n\n---\n\nDan Williams (2):\n      fs, xfs: perform dax_device lookup at mount\n      ext2, ext4: use the super_block dax_device\n\n\n drivers/dax/super.c |   10 ++++++++++\n fs/ext2/inode.c     |   10 ++--------\n fs/ext4/inode.c     |   10 ++--------\n fs/super.c          |   26 +++++++++++++++++++++++---\n fs/xfs/xfs_aops.c   |   13 +++++++++++++\n fs/xfs/xfs_aops.h   |    1 +\n fs/xfs/xfs_buf.c    |    4 +++-\n fs/xfs/xfs_buf.h    |    3 ++-\n fs/xfs/xfs_iomap.c  |   10 +---------\n fs/xfs/xfs_super.c  |   21 +++++++++++++++++----\n include/linux/dax.h |    6 ++++++\n include/linux/fs.h  |    1 +\n 12 files changed, 81 insertions(+), 34 deletions(-)"}