Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
96b8ce71
Commit
96b8ce71
authored
Jul 29, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug: the flags parameter is in and out.
parent
3f954b30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
connection.go
connection.go
+2
-0
ops.go
ops.go
+3
-1
No files found.
connection.go
View file @
96b8ce71
...
@@ -159,6 +159,8 @@ func (c *Connection) Init() (err error) {
...
@@ -159,6 +159,8 @@ func (c *Connection) Init() (err error) {
initOp
.
MaxReadahead
=
maxReadahead
initOp
.
MaxReadahead
=
maxReadahead
initOp
.
MaxWrite
=
buffer
.
MaxWriteSize
initOp
.
MaxWrite
=
buffer
.
MaxWriteSize
initOp
.
Flags
=
0
// Tell the kernel not to use pitifully small 4 KiB writes.
// Tell the kernel not to use pitifully small 4 KiB writes.
initOp
.
Flags
|=
fusekernel
.
InitBigWrites
initOp
.
Flags
|=
fusekernel
.
InitBigWrites
...
...
ops.go
View file @
96b8ce71
...
@@ -40,9 +40,11 @@ type initOp struct {
...
@@ -40,9 +40,11 @@ type initOp struct {
// In
// In
Kernel
fusekernel
.
Protocol
Kernel
fusekernel
.
Protocol
// In/out
Flags
fusekernel
.
InitFlags
// Out
// Out
Library
fusekernel
.
Protocol
Library
fusekernel
.
Protocol
MaxReadahead
uint32
MaxReadahead
uint32
Flags
fusekernel
.
InitFlags
MaxWrite
uint32
MaxWrite
uint32
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment