This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: speed up create_mandatory_directories
Makes find skip files already owned by 'ceph' user when launching chown command; chown will unconditionally re-apply the ownership causing a lot of writes. It looks like we use this function not only when it is necessary to create the directories but also when there is existing data into those, as a safety measure. Resolves: #1536 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1784047 Signed-off-by: Giulio Fidente <[email protected]> (cherry picked from commit 625630c)
- Loading branch information