mmap_span/mmap_span.go | 3 +-- diff --git a/mmap_span/mmap_span.go b/mmap_span/mmap_span.go index c698a89c1f2595ea1c2897404de85b73c4376731..4195a0f0780a4b286e439d7291dd044eaf2222ee 100644 --- a/mmap_span/mmap_span.go +++ b/mmap_span/mmap_span.go @@ -3,7 +3,6 @@ import ( "fmt" "io" - "log" "sync" "github.com/anacrolix/torrent/segments" @@ -79,7 +78,7 @@ return } func (ms *MMapSpan) WriteAt(p []byte, off int64) (n int, err error) { - log.Printf("writing %v bytes at %v", len(p), off) + // log.Printf("writing %v bytes at %v", len(p), off) ms.mu.RLock() defer ms.mu.RUnlock() n = ms.locateCopy(func(a, b []byte) (_, _ []byte) { return b, a }, p, off)