Whamcloud - gitweb
LU-14935 tests: Use FAIL_CHECK_QUIET for fake i/o
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 12 Aug 2021 20:28:29 +0000 (16:28 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Mar 2022 17:11:29 +0000 (17:11 +0000)
commite6d7cd7b54f34ec184fa33b9fc3534edde9ab6e9
tree244aaa241125cbb55b45d06e5e9b80167c936f91
parent8b091debea9ae6f613d672a46f966278d84dafff
LU-14935 tests: Use FAIL_CHECK_QUIET for fake i/o

Logging to the console is relatively expensive and doing it
for fake i/o is very expensive in terms of CPU time.

If we use FAIL_CHECK_QUIET, a debug message is logged only once
to the console, and the rest at D_INFO level (probably not at all).

This should hugely reduce the CPU cost of the debugging.

Lustre-change: https://review.whamcloud.com/44651
Lustre-commit: 890466a32d3e8683a96d5a18e76c0cc704810f5f

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I46a5042efd116a4f5c80eaf0d5dae7fe132f6a79
Reviewed-on: https://review.whamcloud.com/46372
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/include/libcfs/libcfs_fail.h
lustre/include/obd_support.h
lustre/ofd/ofd_io.c
lustre/osd-ldiskfs/osd_io.c