From 028a583920fe417919f97c236b5bd8508cc719b1 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 6 Jun 2025 15:45:43 +0200 Subject: [PATCH] s3/scavenger: raise debug level to 1 for cleanup failures BUG: https://bugzilla.samba.org/show_bug.cgi?id=15649 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15651 Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/smbd/scavenger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c index 231aac2f10b..ec63b151702 100644 --- a/source3/smbd/scavenger.c +++ b/source3/smbd/scavenger.c @@ -528,7 +528,7 @@ static bool share_mode_cleanup_disconnected( state.lck = get_existing_share_mode_lock(frame, fid); if (state.lck == NULL) { - DBG_INFO("Could not fetch share mode entry for %s\n", + DBG_WARNING("Could not fetch share mode entry for %s\n", file_id_str_buf(fid, &idbuf)); goto done; } @@ -536,7 +536,7 @@ static bool share_mode_cleanup_disconnected( ok = brl_cleanup_disconnected(fid, open_persistent_id); if (!ok) { - DBG_DEBUG("failed to clean up byte range locks associated " + DBG_WARNING("failed to clean up byte range locks associated " "with file (file-id='%s', servicepath='%s', " "name='%s') and open_persistent_id %"PRIu64" " "==> do not cleanup\n", @@ -558,7 +558,7 @@ static bool share_mode_cleanup_disconnected( ok = share_mode_forall_entries( state.lck, cleanup_disconnected_share_mode_entry_fn, &state); if (!ok) { - DBG_DEBUG("failed to clean up entry associated " + DBG_WARNING("failed to clean up entry associated " "with file (file-id='%s', servicepath='%s', " "name='%s') and open_persistent_id %"PRIu64" " "==> do not cleanup\n", -- 2.47.2