Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Cloudfuse Changelog #

## **2.1.2** ##

March 11th 2026
This version is based on [blobfuse2 2.5.2](https://github.com/Azure/azure-storage-fuse/releases/tag/blobfuse2-2.5.2) (upstream).

### Bug Fixes ###

- [#845](https://github.com/Seagate/cloudfuse/pull/845) Reduce binary size
- [#855](https://github.com/Seagate/cloudfuse/pull/855) Add . and .. to directory listings
- [#856](https://github.com/Seagate/cloudfuse/pull/856) Fix log destruction concurrency bug

## **2.1.1** ##

February 23rd 2026
Expand Down
2 changes: 1 addition & 1 deletion build/windows_installer_build.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; https://jrsoftware.org/ishelp/index.php

#define MyAppName "Cloudfuse"
#define MyAppVersion "2.1.1"
#define MyAppVersion "2.1.2"
#define MyAppPublisher "SEAGATE TECHNOLOGY LLC"
#define MyAppURL "https://github.com/Seagate/cloudfuse"
#define MyAppExeCLIName "cloudfuse.exe"
Expand Down
2 changes: 1 addition & 1 deletion common/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (

// Standard config default values
const (
cloudfuseVersion_ = "2.1.1"
cloudfuseVersion_ = "2.1.2"

DefaultMaxLogFileSize = 512
DefaultLogFileCount = 10
Expand Down
18 changes: 18 additions & 0 deletions component/size_tracker/size_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ const (
Emergency // 2
)

func (e EvictionMode) String() string {
switch e {
case Normal:
return "Normal"
case Overuse:
return "Overuse"
case Emergency:
return "Emergency"
default:
return fmt.Sprintf("Unknown(%d)", int(e))
}
}

type SizeTrackerOptions struct {
JournalName string `config:"journal-name" yaml:"journal-name,omitempty"`
TotalBucketCapacity uint64 `config:"bucket-capacity-fallback" yaml:"bucket-capacity-fallback,omitempty"`
Expand Down Expand Up @@ -335,6 +348,11 @@ func (st *SizeTracker) StatFs() (*common.Statfs_t, bool, error) {
sizeOffset = bucketUsage - serverUsage
}
st.statSizeOffset = uint64(max(0, sizeOffset))
log.Info(
"SizeTracker::StatFs : Bucket usage updated - evictionMode=%s, sizeOffset=%d bytes",
st.evictionMode,
st.statSizeOffset,
)
}
}
// add the offset
Expand Down
Loading