aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filesys/file.go')
-rw-r--r--weed/filesys/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index e096c7ba7..db9cb0a0f 100644
--- a/weed/filesys/file.go
+++ b/weed/filesys/file.go
@@ -43,7 +43,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error {
attr.Gid = file.entry.Attributes.Gid
attr.Uid = file.entry.Attributes.Uid
attr.Blocks = attr.Size/blockSize + 1
- attr.BlockSize = 1024 * 1024 * 16
+ attr.BlockSize = uint32(file.wfs.option.ChunkSizeLimit)
return nil