]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/scavenger: raise debug level to 1 for cleanup failures
authorRalph Boehme <slow@samba.org>
Fri, 6 Jun 2025 13:45:43 +0000 (15:45 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 6 Jun 2025 16:16:34 +0000 (16:16 +0000)
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 <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/scavenger.c

index 231aac2f10b8536f10d6fb43e2cef3214972f8f7..ec63b1517028ffad8eba245c241067c081513cc9 100644 (file)
@@ -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",