aboutsummaryrefslogtreecommitdiff
path: root/weed/weed.go
diff options
context:
space:
mode:
authorLHHDZ <shichanglin5@qq.com>2024-09-25 14:04:18 +0800
committerGitHub <noreply@github.com>2024-09-24 23:04:18 -0700
commit4dc33cc143375387e1bb118aa99e929eaa2f8288 (patch)
treee569fa98f6dbee62d48d8de9bbc973d5a3d42cf1 /weed/weed.go
parentd056c0ddf2b7e34a5c7e8fdfe829e5c74e65a068 (diff)
downloadseaweedfs-4dc33cc143375387e1bb118aa99e929eaa2f8288.tar.xz
seaweedfs-4dc33cc143375387e1bb118aa99e929eaa2f8288.zip
fix unclaimed spaces calculation when volumePreallocate is enabled (#6063)
the calculation of `unclaimedSpaces` only needs to subtract `unusedSpace` when `preallocate` is not enabled. Signed-off-by: LHHDZ <shichanglin5@qq.com>
Diffstat (limited to 'weed/weed.go')
0 files changed, 0 insertions, 0 deletions