]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/lsan.supp: suppress seastore reactor-teardown leaks 69621/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Mon, 22 Jun 2026 06:52:57 +0000 (14:52 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Mon, 22 Jun 2026 06:52:57 +0000 (14:52 +0800)
unittest-seastore runs the seastar reactor on a separate thread
(SeastarRunner) and stops it at exit without draining its pending
tasks, so a few cached extents those tasks still held are leaked at
shutdown. Suppress them by the three seastore subsystems they come from.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
qa/lsan.supp

index 8dd1faa5e81066798add2df4fef6197b42c32de6..e1a20fdccd821a58701012ec05382b412e1a0434 100644 (file)
@@ -67,3 +67,11 @@ leak:^RAND_priv_bytes_ex
 # OpenSSL per-thread error stack/strings, freed only by OPENSSL_thread_stop.
 leak:^ossl_err_get_state_int
 leak:^ERR_add_error_vdata
+
+# unittest-seastore stops the seastar reactor (SeastarRunner, on its own thread)
+# without draining its pending tasks, so a few cached extents those tasks still
+# held are leaked at shutdown. Three anchors for the three seastore subsystems
+# they come from.
+leak:crimson::os::seastore::Cache::
+leak:crimson::os::seastore::omap_manager
+leak:crimson::os::seastore::FixedKVBtree