Commit 6d9ae31b authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: add opcode and types for copyfilerange and lseek

add MaxPages to InitOut
parent 34f8ad4a
This diff is collapsed.
...@@ -305,7 +305,9 @@ type InitOut struct { ...@@ -305,7 +305,9 @@ type InitOut struct {
CongestionThreshold uint16 CongestionThreshold uint16
MaxWrite uint32 MaxWrite uint32
TimeGran uint32 TimeGran uint32
Unused [9]uint32 MaxPages uint16
Padding uint16
Unused [8]uint32
} }
type _CuseInitIn struct { type _CuseInitIn struct {
...@@ -504,6 +506,27 @@ type FlushIn struct { ...@@ -504,6 +506,27 @@ type FlushIn struct {
LockOwner uint64 LockOwner uint64
} }
type LseekIn struct {
Fh uint64
Offset uint64
Whence uint32
Padding uint32
}
type LseekOut struct {
Offset uint64
}
type CopyFileRangeIn struct {
FhIn uint64
OffIn uint64
NodeIdOut uint64
FhOut uint64
OffOut uint64
Len uint64
Flags uint64
}
type EntryOut struct { type EntryOut struct {
NodeId uint64 NodeId uint64
Generation uint64 Generation uint64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment