Skip to content

Update Remote/Sync to leverage new data management API ioctls #180

@iamjoemccormick

Description

@iamjoemccormick

Blocked by:

There are a number of areas we've identified where we could improve performance by using an IOCTL to perform certain tasks. Particularly when we are completing sync work requests and we need to mark or unmark the file as a stub. Those operations happen on Remote which means we have to collect the mappings per job which adds overhead. We also have to check whenever completing/updating a job if the access flags should be cleared based on the file data state and if there are any remaining active jobs for the file.

As part of this we should add a mechanism that can detect/cache ioctl availability to ensure Remote/Sync can be used on clients where the new ioctls are not yet available. This should also replace the simple caching mechanism added to handleFileStateUpdate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance-optimizationIssues related to enhancing the efficiency, speed, and overall performance of existing code.rst/remoteIssues primarily affecting the Remote service.rst/syncIssues primarily affecting the Sync service.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions