[GH-ISSUE #707] linux ls is pending while one of the file in the directory is opened for writing. #397

Closed
opened 2026-03-04 01:45:10 +03:00 by kerem · 2 comments
Owner

Originally created by @winglq on GitHub (Jan 15, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/707

Additional Information

The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.

Version of s3fs being used (s3fs --version)

Amazon Simple Storage Service File System V1.83(commit:e1dafe7) with OpenSSL
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Version of fuse being used (pkg-config --modversion fuse)

fuse-2.9.2-8.el7.x86_64

Details about issue

I think ls is a read operation, why it could not happen concurrently with a write operation. Obviously, ext3/4 support this.
Thanks.

Originally created by @winglq on GitHub (Jan 15, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/707 ### Additional Information _The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all._ #### Version of s3fs being used (s3fs --version) Amazon Simple Storage Service File System V1.83(commit:e1dafe7) with OpenSSL Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. #### Version of fuse being used (pkg-config --modversion fuse) fuse-2.9.2-8.el7.x86_64 ### Details about issue I think ls is a read operation, why it could not happen concurrently with a write operation. Obviously, ext3/4 support this. Thanks.
kerem closed this issue 2026-03-04 01:45:10 +03:00
Author
Owner

@gaul commented on GitHub (Feb 2, 2019):

This looks like a locking issue partially diagnosed in #928.

<!-- gh-comment-id:459930872 --> @gaul commented on GitHub (Feb 2, 2019): This looks like a locking issue partially diagnosed in #928.
Author
Owner

@gaul commented on GitHub (Jul 10, 2019):

Fixed by 50d13255e4.

<!-- gh-comment-id:510198777 --> @gaul commented on GitHub (Jul 10, 2019): Fixed by 50d13255e4a732a620e7dad294204090d7e37655.
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#397
No description provided.