2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/fs/fuse
Vivek Goyal 3f9b9efd82 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>
2021-03-05 15:46:47 +01:00
..
acl.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
control.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
cuse.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dax.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dev.c mm/filemap: remove unused parameter and change to void type for replace_page_cache_page() 2021-02-24 13:38:27 -08:00
dir.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
file.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
fuse_i.h fuse: fix live lock in fuse_iget() 2021-03-04 13:36:46 +01:00
inode.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
Kconfig virtiofs: implement dax read/write operations 2020-09-10 11:39:23 +02:00
Makefile virtiofs: add a mount option to enable dax 2020-09-10 11:39:22 +02:00
readdir.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
virtio_fs.c virtiofs: Fail dax mount if device does not support it 2021-03-05 15:46:47 +01:00
xattr.c acl: handle idmapped mounts 2021-01-24 14:27:17 +01:00