[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170825070104.GA9103@lst.de>
Date: Fri, 25 Aug 2017 09:01:04 +0200
From: Christoph Hellwig <hch@....de>
To: Dan Williams <dan.j.williams@...el.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvdimm@...ts.01.org, jack@...e.cz, hch@....de,
"Darrick J. Wong" <darrick.wong@...cle.com>
Subject: Re: [PATCH 1/2] xfs: cache dax_device lookup result
> + 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.
Powered by blists - more mailing lists