From 1e4829589dbed8686c1dacac2ea7a555b8f39347 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Wed, 4 Feb 2026 15:37:30 +0530 Subject: [PATCH] doc: Document cephfs mirroring multi-thread Fixes: https://tracker.ceph.com/issues/73452 Signed-off-by: Kotresh HR --- doc/cephfs/cephfs-mirroring.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index 26a592b115c..a20b73be645 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -574,3 +574,14 @@ in the command output). Also, it is recommended to purge synchronized directorie from the peer before re-adding it to another file system (especially those directories which might exist in the new primary file system). This is not required if re-adding a peer to the same primary file system it was earlier synchronized from. + +Multi-threaded snapshot sync +---------------------------- + +CephFS mirroring now utilizes a multi-threaded architecture to improve synchronization +performance. The workload is split into two distinct thread pools: a crawler thread pool, which +manages snapshot crawl and a data synchronization thread pool, which handles concurrent file +transfers. Users can fine-tune these operations using configuration parameters: +- ``cephfs_mirror_max_concurrent_directory_syncs``: controls the number of concurrent snapshots being crawled. +- ``cephfs_mirror_max_datasync_threads``: controls the total threads available for data sync. +For more information, see https://tracker.ceph.com/issues/73452 -- 2.47.3