[Virtio-fs] [PATCH] virtiofs: Fail dax mount if device does not support it

Miklos Szeredi miklos at szeredi.hu
Fri Mar 5 14:48:02 UTC 2021


On Fri, Mar 5, 2021 at 2:34 PM Vivek Goyal <vgoyal at redhat.com> wrote:
>
> On Tue, Feb 09, 2021 at 05:47:54PM -0500, Vivek Goyal wrote:
> > Right now "mount -t virtiofs -o dax myfs /mnt/virtiofs" succeeds even
> > if filesystem deivce does not have a cache window and hence DAX can't
> > be supported.
> >
> > This gives a false sense to user that they are using DAX with virtiofs
> > but fact of the matter is that they are not.
> >
> > Fix this by returning error if dax can't be supported and user has asked
> > for it.
>
> Hi Miklos,
>
> Did you get a chance to look at this patch.

Thanks for the reminder.  Pushed out now.

Miklos




More information about the Virtio-fs mailing list