From: Christoph Hellwig <hch@lst.de>
To: Dan Williams <dan.j.williams@intel.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-nvdimm@lists.01.org, jack@suse.cz, hch@lst.de,
"Darrick J. Wong" <darrick.wong@oracle.com>
Subject: Re: [PATCH 1/2] xfs: cache dax_device lookup result
Date: Fri, 25 Aug 2017 09:01:04 +0200 [thread overview]
Message-ID: <20170825070104.GA9103@lst.de> (raw)
In-Reply-To: <150362134833.39142.12423673180125514125.stgit@dwillia2-desk3.amr.corp.intel.com>
> + bdev = bt->bt_bdev;
> + if (!blk_queue_dax(bdev->bd_queue))
> + return NULL;
> +
> + if (!bt->bt_daxdev)
> + bt->bt_daxdev = fs_dax_get_by_host(bdev->bd_disk->disk_name);
> +
> + return bt->bt_daxdev;
Please do this at mount time.
next prev parent reply other threads:[~2017-08-25 7:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 0:35 [PATCH 0/2] fs: cache dax_device lookup result Dan Williams
2017-08-25 0:35 ` [PATCH 1/2] xfs: " Dan Williams
2017-08-25 5:32 ` Darrick J. Wong
2017-08-25 6:24 ` Dan Williams
2017-08-25 7:02 ` Christoph Hellwig
2017-08-25 7:01 ` Christoph Hellwig [this message]
2017-08-25 0:35 ` [PATCH 2/2] ext2, ext4: " Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170825070104.GA9103@lst.de \
--to=hch@lst.de \
--cc=dan.j.williams@intel.com \
--cc=darrick.wong@oracle.com \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvdimm@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).