[PR #232] [MERGED] Always hold stat_cache_lock when using stat_cache #1410

Closed
opened 2026-03-04 01:53:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/232
Author: @gaul
Created: 8/15/2015
Status: Merged
Merged: 8/19/2015
Merged by: @ggtakec

Base: masterHead: stat-cache-locking


📝 Commits (1)

  • dfa6334 Always hold stat_cache_lock when using stat_cache

📊 Changes

1 file changed (+20 additions, -6 deletions)

View changed files

📝 src/cache.cpp (+20 -6)

📄 Description

We could further improve this code by holding stat_cache_lock before
calls to DelStat instead of unlocking then relocking it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/232 **Author:** [@gaul](https://github.com/gaul) **Created:** 8/15/2015 **Status:** ✅ Merged **Merged:** 8/19/2015 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `stat-cache-locking` --- ### 📝 Commits (1) - [`dfa6334`](https://github.com/s3fs-fuse/s3fs-fuse/commit/dfa63345edb496986fecd70fca28ff8aba476f2a) Always hold stat_cache_lock when using stat_cache ### 📊 Changes **1 file changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/cache.cpp` (+20 -6) </details> ### 📄 Description We could further improve this code by holding `stat_cache_lock` before calls to `DelStat` instead of unlocking then relocking it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:53:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1410
No description provided.