Skip to content

File attributes caching #4

@silver-

Description

@silver-

Commands like ls fetch list of files using readdir() call, then attributes of every individual file are queried with getattr(). Making database query on each getattr can be an expensive operation, especially in case of remote db server. So we need to implement some kind of short-living caching. One of the options is to use opendir/releasedir as a hints of cache expiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions