Re: [RFC V2 14/18] famfs_fuse: GET_DAXDEV message and daxdev_table

From: Miklos Szeredi
Date: Thu Aug 14 2025 - 14:25:51 EST


On Thu, 14 Aug 2025 at 19:19, Darrick J. Wong <djwong@xxxxxxxxxx> wrote:
> What happens if you want to have a fuse server that hosts both famfs
> files /and/ backing files? That'd be pretty crazy to mix both paths in
> one filesystem, but it's in theory possible, particularly if the famfs
> server wanted to export a pseudofile where everyone could find that
> shadow file?

Either FUSE_DEV_IOC_BACKING_OPEN detects what kind of object it has
been handed, or we add a flag that explicitly says this is a dax dev
or a block dev or a regular file. I'd prefer the latter.

Thanks,
Miklos