Commit 25660c21 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fs: remove typeChangeDebug code

Change-Id: I87f5ff47daeb64412ff877038619d6cdf5e6ec92
parent b51c2c59
...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment