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
83d4308a
Commit
83d4308a
authored
Mar 23, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a note about munmap not calling flush.
parent
2728137e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
file_system.go
file_system.go
+4
-0
No files found.
file_system.go
View file @
83d4308a
...
@@ -242,6 +242,10 @@ type FileSystem interface {
...
@@ -242,6 +242,10 @@ type FileSystem interface {
// case of close(2), a flush error is returned to the user. For dup2(2), it
// case of close(2), a flush error is returned to the user. For dup2(2), it
// is not.
// is not.
//
//
// Note that one potentially significant case where this is *not* called is
// munmap(2). (Cf. http://goo.gl/7n1r9X, fuse-devel mailing list thread from
// Han-Wen Nienhuys on 2014-10-08.)
//
// Because of cases like dup2(2), calls to FlushFile are not necessarily one
// Because of cases like dup2(2), calls to FlushFile are not necessarily one
// to one with calls to OpenFile. They should not be used for reference
// to one with calls to OpenFile. They should not be used for reference
// counting, and the handle must remain valid even after the method is called
// counting, and the handle must remain valid even after the method is called
...
...
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