-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Blocked by:
- https://github.com/ThinkParQ/beegfs-core/issues/4292
- https://github.com/ThinkParQ/beegfs-core/issues/3869
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.