Skip to content

Add support for includeFoldersAsPrefixes=true when listing directories. #4075

@Kleptine

Description

@Kleptine

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions