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
119f9a18
Commit
119f9a18
authored
Jun 05, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the guidance for dealing with lookup counts at unmount time.
parent
c1d30a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fuseops/ops.go
fuseops/ops.go
+5
-5
No files found.
fuseops/ops.go
View file @
119f9a18
...
@@ -237,7 +237,7 @@ func (o *SetInodeAttributesOp) toBazilfuseResponse() (bfResp interface{}) {
...
@@ -237,7 +237,7 @@ func (o *SetInodeAttributesOp) toBazilfuseResponse() (bfResp interface{}) {
// revalidating.
// revalidating.
//
//
// In contrast to all other inodes, RootInodeID begins with an implicit
// In contrast to all other inodes, RootInodeID begins with an implicit
//
reference
count of one, without a corresponding op to increase it. (There
//
lookup
count of one, without a corresponding op to increase it. (There
// could be no such op, because the root cannot be referred to by name.) Code
// could be no such op, because the root cannot be referred to by name.) Code
// walk:
// walk:
//
//
...
@@ -248,10 +248,10 @@ func (o *SetInodeAttributesOp) toBazilfuseResponse() (bfResp interface{}) {
...
@@ -248,10 +248,10 @@ func (o *SetInodeAttributesOp) toBazilfuseResponse() (bfResp interface{}) {
//
//
// * (http://goo.gl/vPD9Oh) fuse_iget increments nlookup.
// * (http://goo.gl/vPD9Oh) fuse_iget increments nlookup.
//
//
// File systems should
not make assumptions about whether they will or will not
// File systems should
tolerate but not rely on receiving forget ops for
// re
ceive a ForgetInodeOp for the root inode. Experimentally, OS X seems to
// re
maining inodes when the file system unmounts, including the root inode.
//
never send one, while Linux appears to send one only sometimes. (Cf.
//
Rather they should take fuse.Connection.ReadOp returning io.EOF as
//
http://goo.gl/EUbxEg, fuse-devel thread "Root inode lookup count")
.
//
implicitly decrementing all lookup counts to zero
.
type
ForgetInodeOp
struct
{
type
ForgetInodeOp
struct
{
commonOp
commonOp
...
...
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