]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs: reduce SnapDiffDeletionRecreation bulk_count on Windows 69203/head
authorKefu Chai <k.chai@proxmox.com>
Mon, 1 Jun 2026 05:19:04 +0000 (13:19 +0800)
committerKefu Chai <k.chai@proxmox.com>
Mon, 1 Jun 2026 05:27:59 +0000 (13:27 +0800)
commit4369bea1475e82523d6430e055b6a91f24a40ee0
tree9c396bf2cdf92ac4eda615cd73f5d8f8f6ba5614
parentce220cc902e91fe203513e7beac7982e2c2538d4
test/libcephfs: reduce SnapDiffDeletionRecreation bulk_count on Windows

this test timed out on Windows. and HugeSnapDiffLargeDelta, at half
the file count, passed in 508 seconds on the same run, suggesting this
test takes ~17 minutes on Windows -- beyond the test runner limit.

we haven't profiled the Windows client yet, but the likely culprit is
EventPoll, the Windows messenger backend, which scans the entire poll
array on every event_wait() and poll_ctl() call rather than using a
keyed data structure.

in this change, we reduce bulk_count to 1 << 12 on Windows. the unique
thing this test covers is the deletion-recreation pattern: a name that
exists as a file in snap1, gets deleted, and reappears as a directory in
snap2 -- it must show up in the diff with both snapids. 4096 produces
1024 such pairs, which is enough to exercise that logic. multi-fragment
snapdiff is already covered by HugeSnapDiffLargeDelta, which derives its
file count from mds_bal_split_size and mds_bal_fragment_fast_factor
explicitly to trigger fragmentation.

Fixes: https://tracker.ceph.com/issues/77015
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/test/libcephfs/snapdiff.cc