Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache,pnfs: skip symlink resolution when checking restrictions on di…
…rectory children during listing Motivation: Resolution of symlinks on restriction source and target paths was introduced at https://rb.dcache.org/r/13970/ `commons,dcache: alternative symlinks resolution on restrictions` master@3657a1f4e6681aebec236ab5086dbaece1864643 Since then, we have noticed a somewhat appreciable slowdown on directory listing. The reason is that the listing must check permissions on READ_METADATA on all children, since WebDAV specifies that paths for which the user does not have this permission should not be visible. Modification: The proposed solution is to check the restrictions but without resolving the symlinks. We partially sacrifice correctness in WebDAV when symlinks are involved in favor of speed. Result: A modest speed-up of directory listing. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Patch: https://rb.dcache.org/r/14006/ Requires-notes: yes Acked-by: Dmitry
- Loading branch information
Showing
6 changed files
with
68 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters