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
ed6f72d0
Commit
ed6f72d0
authored
Aug 12, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated a TODO.
parent
b0a4566c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
connection.go
connection.go
+5
-1
No files found.
connection.go
View file @
ed6f72d0
...
@@ -165,7 +165,11 @@ func (c *Connection) Init() (err error) {
...
@@ -165,7 +165,11 @@ func (c *Connection) Init() (err error) {
// 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
// TODO(jacobsa): Add comments motivating this.
// TODO(jacobsa): Make this opt out and discuss benefits and caveats:
// * Write performance may be better (cf. http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/13923)
// * (Discuss what writeback caching even means)
// * File systems need to implement setattr for dealing with kernel's stored time (find code reference)
// * File systems no longer "own" mtime; kernel will cache it even if no writes (cf. http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/14808)
initOp
.
Flags
|=
fusekernel
.
InitWritebackCache
initOp
.
Flags
|=
fusekernel
.
InitWritebackCache
c
.
Reply
(
ctx
,
nil
)
c
.
Reply
(
ctx
,
nil
)
...
...
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