]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Document cephfs mirroring multi-thread
authorKotresh HR <khiremat@redhat.com>
Wed, 4 Feb 2026 10:07:30 +0000 (15:37 +0530)
committerKotresh HR <khiremat@redhat.com>
Sun, 22 Feb 2026 19:00:38 +0000 (00:30 +0530)
Fixes: https://tracker.ceph.com/issues/73452
Signed-off-by: Kotresh HR <khiremat@redhat.com>
doc/cephfs/cephfs-mirroring.rst

index 26a592b115c9e3dd0c8803eba334c91640366641..a20b73be645ee78ea5acd9ec3c64a03b86632d24 100644 (file)
@@ -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