stat
call for dir1/dir2/dir3/file
triggers many List and Head requests
#770
Labels
question
Further information is requested
Mountpoint for Amazon S3 version
mount-s3 1.4.0
AWS Region
us-east-2
Describe the running environment
Running in local Ubuntu 22.04.
Mountpoint options
What happened?
I have created
dir1/dir2/dir3/
directory hierarchy with onefile
inside in the local system and uploadeddir1
to my newly createdmhnap-bucket
.After, I mounted this bucket using the
mount-s3
command and calledstat
(using the same code from stat doc) for/media/mhnap/mnt/dir1/dir2/dir3/file
path 10 times.My concern is that I see also List and Head requests for
dir1/
,dir1/dir2/
,dir1/dir2/dir3/
, and not only one Head request fordir1/dir2/dir3/file
as I would expect. In CloudWatch I see a total of 72 List and 45 Head requests for the whole test duration.I may be missing something and it indeed can be correct behavior. In such a case, I would be grateful to find an explanation for such behavior.
Cannot paste logs, so uploaded them here: mountpoint-s3-2024-02-21T21-07-50Z.log
Relevant log output
No response
The text was updated successfully, but these errors were encountered: