Whamcloud - gitweb
LU-17010 lfsck: don't dump stack repeatedly
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 13 Sep 2023 05:12:18 +0000 (23:12 -0600)
committerOleg Drokin <green@linuxhacker.ru>
Mon, 22 Apr 2024 05:55:37 +0000 (01:55 -0400)
commit45f97c4ed29f32942b0b711e4c035d31a80c8142
tree42eea06fdaf707fbc814fa0e3279563ccd19ace5
parent7eb873de95e98e606c00f95345bdd29292ce9622
LU-17010 lfsck: don't dump stack repeatedly

If there are transactions started with LFSCK in dry-run mode, don't
dump the stack repeatedly, as this can spam the console logs and
significantly hurt performance.

Lustre-commit: dc360cd3eff20618f243ab89097a62f8ecf2c929
Lustre-change: https://review.whamcloud.com/52356

Test-Parameters: trivial testlist=sanity-lfsck
Fixes: 0c1ae1cb9c ("LU-13124 scrub: check for multiple linked file")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0b0d64911453dc8ab947e284656311b5d0300c1e
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
lustre/lfsck/lfsck_internal.h