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


Groups > linux.kernel > #1719789

Re: [PATCH 1/2] xfs: cache dax_device lookup result

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] xfs: cache dax_device lookup result
Date 2017-08-25 09:10 +0200
Message-ID <uigUG-Ye-3@gated-at.bofh.it> (permalink)
References <uiaYV-5od-7@gated-at.bofh.it> <uiaYW-5od-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> +	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.

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


Thread

[PATCH 0/2] fs: cache dax_device lookup result Dan Williams <dan.j.williams@intel.com> - 2017-08-25 02:50 +0200
  [PATCH 1/2] xfs: cache dax_device lookup result Dan Williams <dan.j.williams@intel.com> - 2017-08-25 02:50 +0200
    Re: [PATCH 1/2] xfs: cache dax_device lookup result "Darrick J. Wong" <darrick.wong@oracle.com> - 2017-08-25 07:40 +0200
      Re: [PATCH 1/2] xfs: cache dax_device lookup result Dan Williams <dan.j.williams@intel.com> - 2017-08-25 08:30 +0200
        Re: [PATCH 1/2] xfs: cache dax_device lookup result Christoph Hellwig <hch@lst.de> - 2017-08-25 09:10 +0200
    Re: [PATCH 1/2] xfs: cache dax_device lookup result Christoph Hellwig <hch@lst.de> - 2017-08-25 09:10 +0200
  [PATCH 2/2] ext2, ext4: cache dax_device lookup result Dan Williams <dan.j.williams@intel.com> - 2017-08-25 02:50 +0200

csiph-web