3 ms·
Is directory rename an operation that needs to be efficient though? Probably not.
by alayne 12y ago
Is directory rename an operation that needs to be efficient though? Probably not.
- sysk 12y agoEfficiency is important if the operation needs to be atomic though. POSIX for example requires rename to be an atomic operation. http://en.wikipedia.org/wiki/Rename_(computing) http://en.wikipedia.org/wiki/Rename_(computing)
- alayne 12y agoThere"s no efficiency requirement on atomicity. Who said we need POSIX filesystem semantics anyway? Is it so important we should trade scalability? Obviously that wasn"t the s3 design choice.
- mateuszf 12y agoFilesystems users (developers) already assume that renames are fast. Changing the mode now would mean that some of the applications would seem like blocked or could behave strangely. S3 users already know and should handle that.
- deleted 12y ago[deleted]