From 1f574013e4982b1077a5fd8372544b9b6c5cb074 Mon Sep 17 00:00:00 2001 From: tprouty Date: Tue, 5 May 2009 01:17:04 +0000 Subject: [PATCH] s3 onefs: Turn up the debug level for non-error cases (cherry picked from commit e4628c6fc7348f56666adc69722809ea539c4fe7) --- source3/modules/onefs_system.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/modules/onefs_system.c b/source3/modules/onefs_system.c index bc2ed469bf8..cf99a27a87c 100644 --- a/source3/modules/onefs_system.c +++ b/source3/modules/onefs_system.c @@ -580,7 +580,7 @@ ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, /* Log if recvfile didn't write everything it read. */ if (total_rbytes != total_wbytes) { - DEBUG(0, ("partial recvfile: total_rbytes=%llu but " + DEBUG(3, ("partial recvfile: total_rbytes=%llu but " "total_wbytes=%llu, diff = %llu\n", total_rbytes, total_wbytes, total_rbytes - total_wbytes)); SMB_ASSERT(total_rbytes > total_wbytes); @@ -591,7 +591,7 @@ ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, */ while (total_rbytes < count) { - DEBUG(0, ("shallow recvfile (%s), reading %llu\n", + DEBUG(3, ("shallow recvfile (%s), reading %llu\n", strerror(errno), count - total_rbytes)); /* @@ -628,7 +628,7 @@ ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, */ while (total_wbytes < count) { - DEBUG(0, ("partial recvfile, writing %llu\n", count - total_wbytes)); + DEBUG(3, ("partial recvfile, writing %llu\n", count - total_wbytes)); ret = sys_pwrite(tofd, spill_buffer, count - total_wbytes, offset + total_wbytes); -- 2.11.4.GIT