Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-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
go-fuse
Commits
25660c21
Commit
25660c21
authored
Dec 19, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs: remove typeChangeDebug code
Change-Id: I87f5ff47daeb64412ff877038619d6cdf5e6ec92
parent
b51c2c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
fs/bridge.go
fs/bridge.go
+1
-5
No files found.
fs/bridge.go
View file @
25660c21
...
@@ -116,11 +116,7 @@ func (b *rawBridge) newInodeUnlocked(ops InodeEmbedder, id StableAttr, persisten
...
@@ -116,11 +116,7 @@ func (b *rawBridge) newInodeUnlocked(ops InodeEmbedder, id StableAttr, persisten
return
old
return
old
}
}
b
.
mu
.
Unlock
()
b
.
mu
.
Unlock
()
const
typechangeDebug
=
false
if
typechangeDebug
{
log
.
Printf
(
"Ino:%d typechange %#x -> %#x, sleep=%v"
,
old
.
stableAttr
.
Ino
,
old
.
stableAttr
.
Mode
,
id
.
Mode
,
t
)
}
t
=
expSleep
(
t
)
t
=
expSleep
(
t
)
if
i
%
5000
==
0
{
if
i
%
5000
==
0
{
log
.
Printf
(
"blocked for %.0f seconds waiting for FORGET on i%d"
,
time
.
Since
(
t0
)
.
Seconds
(),
id
.
Ino
)
log
.
Printf
(
"blocked for %.0f seconds waiting for FORGET on i%d"
,
time
.
Since
(
t0
)
.
Seconds
(),
id
.
Ino
)
...
...
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