[Virtio-fs] [PATCH] virtiofsd: Remove fuse.h and struct fuse_module

2020-02-20 Thread Xiao Yang
All code in fuse.h and struct fuse_module are not used by virtiofsd so removing them is safe. Signed-off-by: Xiao Yang --- tools/virtiofsd/fuse.h | 1229 -- tools/virtiofsd/fuse_i.h | 16 - 2 files changed, 1245 deletions(-) delete mode 100644

[Virtio-fs] [PATCH v3 0/2] Fix xattr operation

2020-02-20 Thread Misono Tomohiro
This fixes the xattr operation for directory and special files (which can be tested by xfstests generic/062 with -o xattr option). The overall logic is switched back to the same as v1 in favor of performance (i.e. keep original implementation for regular files/directories) but I add a cleanup

[Virtio-fs] [PATCH v3 2/2] virtiofs: Fix xattr operations

2020-02-20 Thread Misono Tomohiro
Current virtiofsd has problems about xattr operations and they does not work properly for directory/symlink/special file. The fundamental cause is that virtiofsd uses openat() + f...xattr() systemcalls for xattr operation but we should not open symlink/special file in the daemon. Therefore the