Home
last modified time | relevance | path

Searched hist:"3 f9b9efd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/fuse/
H A Dvirtio_fs.c3f9b9efd Tue Feb 09 16:47:54 CST 2021 Vivek Goyal <vgoyal@redhat.com> virtiofs: Fail dax mount if device does not support it

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.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>