mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #90] option use_ino does not work properly #54
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#54
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?
Originally created by @snowbird29-zz on GitHub (Dec 2, 2014).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/90
Hello,
I want to make use of the option "use_ino" for the following purpose
File
size: 909
atime: 1416321754
mtime: 1416321754
ctime: 1416321754
S3
size: 919
atime: 0
mtime: 1417438347
ctime: 0
As you can see "atime" and "ctime" are 0 using S3FS, I would like to see the File output above.
Would that be possible ? I'm using V1.78
I need a fast response, thank you.
@ggtakec commented on GitHub (Jan 6, 2015):
I'm sorry for replying late.
I think that it is possible to add those, but we need to be careful to add those.
Means to add them, means that of adding the HTTP header (x-amz-xxxx) for each s3 object.
s3fs makes http header for ctime at first time, when s3fs creates(puts) new object.
But for atime s3fs puts new http header value when s3 object is read through s3fs(fuse), so it may be high costs and lower performance.
Because the cache for stats and object will not be used.
So I think that it is hard to support a time on s3fs.
Regrads,
@ggtakec commented on GitHub (Jan 17, 2016):
I understand that the files(directories) should have atime/ctime, but I have decided not to add it current situation.
Because atime must be updated every read access, s3fs performance is an issue and it can not be updated when it is cached.
For ctime, rather than for the update the same inode as the file system, because the object itself is replaced, I can not determine the correct way.
Therefore, I decided to not to specification changes s3fs.
I'm closing this issue, if you have more problem, please post new issue or reopen this issue.
Thanks in advance for your kindness.