Describe the issue
We have a bucket that contains ~1000 folders, each with ~10 files inside. Hierarchical namespaces is enabled.
Currently, listing this directory when mounted under gcsfuse takes ~3 seconds. Similarly, via a REST request, listing the directory takes 1.7s.
However, with the new includeFoldersAsPrefixes=true argument included in the REST request, listing drops over 10x to 189ms!
It would be great if gcsfuse would pass includeFoldersAsPrefixes when listing mounted directories.
System & Version (please complete the following information):
- OS: Any (tested on Debian/OSX)
- Platform: GCE VM
- Version: 3.4