mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2721] [MERGED] Changed to use rename when serializing to FileCacheStat #2742
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2742
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2721
Author: @ggtakec
Created: 8/28/2025
Status: ✅ Merged
Merged: 8/29/2025
Merged by: @gaul
Base:
master← Head:fix/cache_file_stat📝 Commits (1)
3da87c0Changed to use rename when serializing to FileCacheStat📊 Changes
5 files changed (+52 additions, -18 deletions)
View changed files
📝
src/fdcache_page.cpp(+5 -16)📝
src/fdcache_page.h(+1 -1)📝
src/fdcache_stat.cpp(+43 -0)📝
src/fdcache_stat.h(+1 -0)📝
src/test_page_list.cpp(+2 -1)📄 Description
Relevant Issue (if applicable)
#2709
Details
Changed
PageList::Serialize()to useflockto exclusively handleftruncate->pwriteoperations.This fixes a bug reported in https://github.com/s3fs-fuse/s3fs-fuse/issues/2709#issuecomment-3226548346.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.