[PR #1879] [MERGED] Always flush open files with O_CREAT flag #2225

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1879
Author: @gaul
Created: 1/30/2022
Status: Merged
Merged: 1/30/2022
Merged by: @ggtakec

Base: masterHead: create/flush


📝 Commits (1)

  • 4fc1403 Always flush open files with O_CREAT flag

📊 Changes

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

View changed files

📝 src/fdcache_entity.cpp (+1 -1)

📄 Description

Previously s3fs only created files that had dirty data and not those
with zero-bytes. Regression from
771bbfeac5. References #1013. Found
via pjdfstest. References #1589.


🔄 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/1879 **Author:** [@gaul](https://github.com/gaul) **Created:** 1/30/2022 **Status:** ✅ Merged **Merged:** 1/30/2022 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `create/flush` --- ### 📝 Commits (1) - [`4fc1403`](https://github.com/s3fs-fuse/s3fs-fuse/commit/4fc140305d4b8a5c1eda99f2e02fc1481e460f55) Always flush open files with O_CREAT flag ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache_entity.cpp` (+1 -1) </details> ### 📄 Description Previously s3fs only created files that had dirty data and not those with zero-bytes. Regression from 771bbfeac5e93da96ee39cb32d59e0b5dfe96377. References #1013. Found via pjdfstest. References #1589. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:04:25 +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#2225
No description provided.