[PR #2364] [MERGED] Re-improved updating of temporary stat cache when new file #2500

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2364
Author: @ggtakec
Created: 11/10/2023
Status: Merged
Merged: 11/10/2023
Merged by: @gaul

Base: masterHead: fix_update_cache2


📝 Commits (1)

  • a862de1 Re-improved updating of temporary stat cache when new file

📊 Changes

1 file changed (+30 additions, -0 deletions)

View changed files

📝 src/s3fs.cpp (+30 -0)

📄 Description

Relevant Issue (if applicable)

#2361
#2332

Details

There were other parts that needed to be fixed in #2361, so we made additional corrections.

The possibility of updating c/a/mtime immediately after creating a new file also exists in chmod/chown/setxattr.
Therefore, we added processing similar to utimens to these functions.


🔄 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/2364 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 11/10/2023 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `fix_update_cache2` --- ### 📝 Commits (1) - [`a862de1`](https://github.com/s3fs-fuse/s3fs-fuse/commit/a862de1fce1f197164bb9754b866afda8116ef9c) Re-improved updating of temporary stat cache when new file ### 📊 Changes **1 file changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs.cpp` (+30 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) #2361 #2332 ### Details There were other parts that needed to be fixed in #2361, so we made additional corrections. The possibility of updating `c/a/mtime` immediately after creating a new file also exists in `chmod`/`chown`/`setxattr`. Therefore, we added processing similar to `utimens` to these functions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:51 +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#2500
No description provided.