diff --git a/CHANGELOG.md b/CHANGELOG.md index 864aed2ee..9af7bc18f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/build/windows_installer_build.iss b/build/windows_installer_build.iss index 07048c1b4..f2273471a 100644 --- a/build/windows_installer_build.iss +++ b/build/windows_installer_build.iss @@ -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" diff --git a/common/types.go b/common/types.go index c63d5dcd8..be08be32a 100644 --- a/common/types.go +++ b/common/types.go @@ -39,7 +39,7 @@ import ( // Standard config default values const ( - cloudfuseVersion_ = "2.1.1" + cloudfuseVersion_ = "2.1.2" DefaultMaxLogFileSize = 512 DefaultLogFileCount = 10 diff --git a/component/size_tracker/size_tracker.go b/component/size_tracker/size_tracker.go index 031d82449..98f50d52f 100644 --- a/component/size_tracker/size_tracker.go +++ b/component/size_tracker/size_tracker.go @@ -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"` @@ -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