diff --git a/lib/fs/reader_at.go b/lib/fs/reader_at.go index 0acaedafb..26bf4df3f 100644 --- a/lib/fs/reader_at.go +++ b/lib/fs/reader_at.go @@ -32,7 +32,7 @@ func (r *ReaderAt) MustReadAt(p []byte, off int64) { if len(p) == 0 { return } - if len(r.mmapData) == 0 || len(p) > 8*1024*1024 { + if len(r.mmapData) == 0 || len(p) > 8*1024 { // Read big blocks directly from file. // This could be faster than reading these blocks from mmap, // since it triggers less page faults.