diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-05-10 13:50:10 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-05-10 13:50:10 -0700 |
| commit | 55d547afecda9fc8ea7a142993798f96d0678e9e (patch) | |
| tree | e8f49e1f6756e1d40c2e2664c35d7725bf6c3b2d | |
| parent | 9a6aa00e9d1178fb85105dbe1505619b02723015 (diff) | |
| download | seaweedfs-55d547afecda9fc8ea7a142993798f96d0678e9e.tar.xz seaweedfs-55d547afecda9fc8ea7a142993798f96d0678e9e.zip | |
switch back to in memory uploading for now
| -rw-r--r-- | weed/filesys/filehandle.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go index abdab2b5e..1245cce71 100644 --- a/weed/filesys/filehandle.go +++ b/weed/filesys/filehandle.go @@ -38,8 +38,8 @@ type FileHandle struct { func newFileHandle(file *File, uid, gid uint32, writeOnly bool) *FileHandle { fh := &FileHandle{ f: file, - // dirtyPages: newContinuousDirtyPages(file, writeOnly), - dirtyPages: newTempFileDirtyPages(file, writeOnly), + dirtyPages: newContinuousDirtyPages(file, writeOnly), + /// dirtyPages: newTempFileDirtyPages(file, writeOnly), Uid: uid, Gid: gid, } |
