From eaf52bfdaaabce1a868f763f27938c86e56ef463 Mon Sep 17 00:00:00 2001 From: Victor1319 Date: Tue, 8 Apr 2025 16:08:50 +0800 Subject: [PATCH] refactor(data): refactor the usage of the buffer pool during the prefetch process. #1000048465 Signed-off-by: Victor1319 (cherry picked from commit 693f7e4996ed9f673899a6adb4e4b6e4613f9e3e) --- client/fuse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/fuse.go b/client/fuse.go index a6983e593..21bf687c1 100755 --- a/client/fuse.go +++ b/client/fuse.go @@ -1022,6 +1022,7 @@ func parseMountOption(cfg *config.Config) (*proto.MountOptions, error) { available = int64((total - used) / 3) if available < opt.AheadReadTotalMem { opt.AheadReadTotalMem = available + syslog.Printf("available ahead read mem: %v\n", available) } } if opt.MountPoint == "" || opt.Volname == "" || opt.Owner == "" || opt.Master == "" {