Skip to contentSkip to conversation

virtiofsd: Change FUSE_MAP_ALIGNMENT bit position for 5.3 kernel

PATCH In review Vivek Goyal 3 participants 3 messages Aug 7, 2019 – Aug 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtiofsd: Change FUSE_MAP_ALIGNMENT bit position for 5.3 kernel

Due to rebase to 5.3-rc kernel, change bit position of FUSE_MAP_ALIGNMENT.

---
 contrib/virtiofsd/fuse_kernel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/virtiofsd/fuse_kernel.h +1 -1
Index: qemu/contrib/virtiofsd/fuse_kernel.h
===================================================================
@@ -292,7 +292,7 @@ struct fuse_file_lock {
 #define FUSE_MAX_PAGES		(1 << 22)
 #define FUSE_CACHE_SYMLINKS	(1 << 23)
 #define FUSE_NO_OPENDIR_SUPPORT (1 << 24)
-#define FUSE_MAP_ALIGNMENT      (1 << 25)
+#define FUSE_MAP_ALIGNMENT      (1 << 26)
 
 /**
  * CUSE INIT request/reply flags
Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Vivek Goyal

Due to rebase to 5.3-rc kernel, change bit position of FUSE_MAP_ALIGNMENT.

---
 contrib/virtiofsd/fuse_kernel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: qemu/contrib/virtiofsd/fuse_kernel.h
===================================================================

contrib/virtiofsd/fuse_kernel.h +1 -1
@@ -292,7 +292,7 @@ struct fuse_file_lock {
 #define FUSE_MAX_PAGES		(1 << 22)
 #define FUSE_CACHE_SYMLINKS	(1 << 23)
 #define FUSE_NO_OPENDIR_SUPPORT (1 << 24)
-#define FUSE_MAP_ALIGNMENT      (1 << 25)
+#define FUSE_MAP_ALIGNMENT      (1 << 26)
 
 /**
  * CUSE INIT request/reply flags
Quoted 4 lines

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

#2 lore raw
In reply to Vivek Goyal
Quoted 1 line · * Vivek Goyal ([email protected]) wrote:

Due to rebase to 5.3-rc kernel, change bit position of FUSE_MAP_ALIGNMENT.

Thanks,
yes this matches the position I sent upstream last week:
https://lore.kernel.org/linux-fsdevel/[email protected]/

I've squashed it into 'virtiofsd: add map_alignment to fuse_kernel.h'

Dave

Quoted 10 lines
---
 contrib/virtiofsd/fuse_kernel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: qemu/contrib/virtiofsd/fuse_kernel.h
===================================================================

contrib/virtiofsd/fuse_kernel.h struct fuse_file_lock { · line 298

Quoted 8 lines
contrib/virtiofsd/fuse_kernel.h +1 -1
@@ -292,7 +292,7 @@ struct fuse_file_lock {
 #define FUSE_MAX_PAGES		(1 << 22)
 #define FUSE_CACHE_SYMLINKS	(1 << 23)
 #define FUSE_NO_OPENDIR_SUPPORT (1 << 24)
-#define FUSE_MAP_ALIGNMENT      (1 << 25)
+#define FUSE_MAP_ALIGNMENT      (1 << 26)
 
 /**
  * CUSE INIT request/reply flags

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK