[lustre-devel] [PATCH 05/25] lustre: mount: improve mount/unmount messages
James Simmons
jsimmons at infradead.org
Thu Jan 30 06:10:55 PST 2025
From: Andreas Dilger <adilger at whamcloud.com>
In some cases, unmount errors are printed in multiple places, or
are expected so printing them on the console log is not necessary.
Conversely, some status messages such as mounting or unmounting the
whole target should not be rate limited.
WC-bug-id: https://jira.whamcloud.com/browse/LU-980
Lustre-commit: cba8c65b384f92d269 ("LU-980 mount: improve mount/unmount messages")
Signed-off-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50511
Reviewed-by: Arshad Hussain <arshad.hussain at aeoncomputing.com>
Reviewed-by: Olaf Faaland <faaland1 at llnl.gov>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/obdclass/obd_config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/lustre/obdclass/obd_config.c b/fs/lustre/obdclass/obd_config.c
index cc7810cae659..689e8f54084d 100644
--- a/fs/lustre/obdclass/obd_config.c
+++ b/fs/lustre/obdclass/obd_config.c
@@ -507,8 +507,8 @@ static int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
obd->obd_force = 1;
break;
case 'A':
- LCONSOLE_WARN("Failing over %s\n",
- obd->obd_name);
+ LCONSOLE(D_WARNING, "Failing over %s\n",
+ obd->obd_name);
spin_lock(&obd->obd_dev_lock);
obd->obd_fail = 1;
obd->obd_no_recov = 1;
--
2.39.3
More information about the lustre-devel
mailing list