[PR #918] [MERGED] Load tail range during overwrite #1696

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/918
Author: @gaul
Created: 1/23/2019
Status: Merged
Merged: 1/23/2019
Merged by: @ggtakec

Base: masterHead: overwrite-file-range


📝 Commits (1)

  • 5f5da4b Load tail range during overwrite

📊 Changes

2 files changed (+21 additions, -0 deletions)

View changed files

📝 src/fdcache.cpp (+9 -0)
📝 test/integration-test-main.sh (+12 -0)

📄 Description

Previously s3fs experienced data loss when writing to the middle of a
file. Corrupt files would have the expected data from 0..offset+size
but unexpected NUL bytes from offset+size..EOF. References #808.


🔄 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/918 **Author:** [@gaul](https://github.com/gaul) **Created:** 1/23/2019 **Status:** ✅ Merged **Merged:** 1/23/2019 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `overwrite-file-range` --- ### 📝 Commits (1) - [`5f5da4b`](https://github.com/s3fs-fuse/s3fs-fuse/commit/5f5da4b2cbf2753024ff58b4b3a75b686879a7c5) Load tail range during overwrite ### 📊 Changes **2 files changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+9 -0) 📝 `test/integration-test-main.sh` (+12 -0) </details> ### 📄 Description Previously s3fs experienced data loss when writing to the middle of a file. Corrupt files would have the expected data from 0..offset+size but unexpected NUL bytes from offset+size..EOF. References #808. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:44 +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#1696
No description provided.