diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-01-24 01:41:51 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-01-24 01:41:51 -0800 |
| commit | 5f1109f143ea76a4f1e475acdb855a3714e9000d (patch) | |
| tree | e66174e796a096d8fd5ecbb7c272feab117c4bef | |
| parent | 9d93c836549629013739ec860c9e1adb20fafcf6 (diff) | |
| download | seaweedfs-5f1109f143ea76a4f1e475acdb855a3714e9000d.tar.xz seaweedfs-5f1109f143ea76a4f1e475acdb855a3714e9000d.zip | |
reduce log
| -rw-r--r-- | weed/filesys/dirty_page_interval.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/filesys/dirty_page_interval.go b/weed/filesys/dirty_page_interval.go index 5c55268c7..47d329f82 100644 --- a/weed/filesys/dirty_page_interval.go +++ b/weed/filesys/dirty_page_interval.go @@ -47,9 +47,7 @@ func (list *IntervalLinkedList) ReadData(buf []byte, start, stop int64) { nodeStart, nodeStop := max(start, t.Offset), min(stop, t.Offset+t.Size) if nodeStart < nodeStop { - glog.V(0).Infof("copying start=%d stop=%d t=[%d,%d) t.data=%d => bufSize=%d nodeStart=%d, nodeStop=%d", - start, stop, t.Offset, t.Offset+t.Size, len(t.Data), - len(buf), nodeStart, nodeStop) + // glog.V(0).Infof("copying start=%d stop=%d t=[%d,%d) t.data=%d => bufSize=%d nodeStart=%d, nodeStop=%d", start, stop, t.Offset, t.Offset+t.Size, len(t.Data), len(buf), nodeStart, nodeStop) copy(buf[nodeStart-start:], t.Data[nodeStart-t.Offset:nodeStop-t.Offset]) } |
