]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
*** empty log message ***
authorsage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 13 Jun 2005 03:52:20 +0000 (03:52 +0000)
committersage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 13 Jun 2005 03:52:20 +0000 (03:52 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@298 29311d96-e01e-0410-9327-a35deaab8ce9

ceph/include/bufferlist.h

index e09e58e43991728fb33fb9e3959236f9ba6c1cfd..3fd4e921997b58c9df6ab27edbc8aa243de16402 100644 (file)
@@ -219,25 +219,25 @@ class bufferlist {
        if (off) {
          // add a reference to the front bit
          //  insert it before curbuf (which we'll hose)
-         cout << "keeping front " << off << " of " << *curbuf << endl;
+         //cout << "keeping front " << off << " of " << *curbuf << endl;
          _buffers.insert( curbuf, bufferptr( *curbuf, off, 0 ) );
        }
 
        while (len > 0) {
          // partial?
          if (off + len < (*curbuf).length()) {
-               cout << "keeping end of " << *curbuf << ", losing first " << off+len << endl;
+               //cout << "keeping end of " << *curbuf << ", losing first " << off+len << endl;
                if (claim_by) 
                  claim_by->append( *curbuf, len, off );
                (*curbuf).set_offset( off + len );    // ignore beginning big
                (*curbuf).set_length( (*curbuf).length() - len - off );
-               cout << " now " << *curbuf << endl;
+               //cout << " now " << *curbuf << endl;
                break;
          }
 
          // hose the whole thing
          int howmuch = (*curbuf).length() - off;
-         cout << "discarding " << howmuch << " of " << *curbuf << endl;
+         //cout << "discarding " << howmuch << " of " << *curbuf << endl;
          if (claim_by) 
                claim_by->append( *curbuf, howmuch, off );
          _buffers.erase( curbuf++ );