Skip to content

FsEventScheduler::onAccessUpdateDecl does a needless getOwnerForFileId #205

@icewind1991

Description

@icewind1991

FsEventScheduler::onAccessUpdateDecl calls StorageService::getOwnerForFileId to get the owner. But all call sites of onAccessUpdateDecl already have the cached mount data, and can thus get the same data without having to fetch the info.

This ends up doing a bunch of extra load every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions