[Virtio-fs] [PATCH 01/19] dax: remove block device dependencies
Christoph Hellwig
hch at infradead.org
Thu Aug 29 09:32:38 UTC 2019
On Wed, Aug 28, 2019 at 05:04:11PM -0700, Dan Williams wrote:
> Agree. In retrospect it was my laziness in the dax-device
> implementation to expect the block-device to be available.
>
> It looks like fs_dax_get_by_bdev() is an intercept point where a
> dax_device could be dynamically created to represent the subset range
> indicated by the block-device partition. That would open up more
> cleanup opportunities.
That seems like a decent short-term plan. But in the long I'd just let
dax call into the partition table parser directly, as we might want to
support partitions without first having to create a block device on top
of the dax device. Same for the badblocks handling story.
More information about the Virtio-fs
mailing list