[PR #2705] [MERGED] Added DirStatCache::GetChildLeafNameHasLock method #2728

Closed
opened 2026-03-04 02:07:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2705
Author: @ggtakec
Created: 8/21/2025
Status: Merged
Merged: 8/21/2025
Merged by: @gaul

Base: masterHead: improve/1_cache_util


📝 Commits (1)

  • 7c5b693 Added DirStatCache::GetChildLeafNameHasLock method

📊 Changes

2 files changed (+53 additions, -42 deletions)

View changed files

📝 src/cache_node.cpp (+51 -42)
📝 src/cache_node.h (+2 -0)

📄 Description

Relevant Issue (if applicable)

n/a

Details

Common processing in several methods in DirStatCache class has been consolidated into the DirStatCache::GetChildLeafNameHasLock method.
Also, confusing variable names have been changed.

This PR is one in a series of feature enhancements using the Stat Cache. (The PRs have been separated into smaller sections.)


🔄 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/2705 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 8/21/2025 **Status:** ✅ Merged **Merged:** 8/21/2025 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `improve/1_cache_util` --- ### 📝 Commits (1) - [`7c5b693`](https://github.com/s3fs-fuse/s3fs-fuse/commit/7c5b69330358a96f0bf068199806e46d09167be3) Added DirStatCache::GetChildLeafNameHasLock method ### 📊 Changes **2 files changed** (+53 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `src/cache_node.cpp` (+51 -42) 📝 `src/cache_node.h` (+2 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) n/a ### Details Common processing in several methods in `DirStatCache` class has been consolidated into the `DirStatCache::GetChildLeafNameHasLock` method. Also, confusing variable names have been changed. _This PR is one in a series of feature enhancements using the Stat Cache. (The PRs have been separated into smaller sections.)_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:07:00 +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#2728
No description provided.