mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1651] [CLOSED] Issue parallel requests in get_object_attribute #2093
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#2093
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/1651
Author: @gaul
Created: 5/8/2021
Status: ❌ Closed
Base:
master← Head:parallel-head-object📝 Commits (1)
25288b4Issue parallel requests in get_object_attribute📊 Changes
2 files changed (+52 additions, -92 deletions)
View changed files
📝
src/s3fs.cpp(+51 -91)📝
test/test-utils.sh(+1 -1)📄 Description
s3fs must issue HEAD requests for path, path/, and the legacy
path_
folderto return an object's attributes. Previously it issuedthese serially which minimized costs but caused poor performance.
Instead issue these in parallel since HeadObject is cheap. Reduces
getattr time of non-existent files from 732 ms to 369 ms.
References #1643.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.