mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1719] [MERGED] Added UntreatedParts class instead of untreated upload info members in PseudoFdInfo #2137
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1719
Author: @ggtakec
Created: 7/11/2021
Status: ✅ Merged
Merged: 7/12/2021
Merged by: @gaul
Base:
master← Head:add_untreatedpart📝 Commits (1)
38c40f1Added UntreatedParts class instead of untreated upload info members in PseudoFdInfo📊 Changes
7 files changed (+459 additions, -38 deletions)
View changed files
📝
src/Makefile.am(+1 -0)📝
src/fdcache_entity.cpp(+24 -23)📝
src/fdcache_fdinfo.cpp(+17 -10)📝
src/fdcache_fdinfo.h(+8 -4)➕
src/fdcache_untreated.cpp(+284 -0)➕
src/fdcache_untreated.h(+70 -0)📝
src/types.h(+55 -1)📄 Description
Relevant Issue (if applicable)
#1666
Details
This PR is an ongoing fix since #1666.
The
PseudoFdInfoclass has member variables(untreated_start,untreated_size) that are not currently used(values are set but not used effectively).This variable was added in #1666 to indicate an unprocessed area that has been written to a file but has not yet been uploaded.
The information that this variable should have is more complex and cannot be represented by a simple variable.
So add the
UntreatedPartsclass and useuntreated_listinstead ofuntreated_startanduntreated_size.Please note that this
untreated_listvariable has not yet been enabled.(I plan to use it effectively in future implementations of stream upload.)Note that this fix should not affect existing behavior.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.