s3 onefs: Turn up the debug level for non-error cases
authortprouty <tprouty@b72e2a10-2d34-0410-9a71-d3beadf02b57>
Tue, 5 May 2009 01:17:04 +0000 (01:17 +0000)
committerTim Prouty <tprouty@samba.org>
Tue, 5 May 2009 23:43:53 +0000 (16:43 -0700)
source3/modules/onefs_system.c

index bc2ed469bf808080d333a6d5efdb221e5a4bd840..cf99a27a87c3edc800984c3a54f4daf7c0f040b3 100644 (file)
@@ -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);