From: sage Date: Mon, 13 Jun 2005 03:52:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v0.1~2083 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=252d5ec7f178976cc014e57ac48966b8666646e2;p=ceph.git *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@298 29311d96-e01e-0410-9327-a35deaab8ce9 --- diff --git a/ceph/include/bufferlist.h b/ceph/include/bufferlist.h index e09e58e4399..3fd4e921997 100644 --- a/ceph/include/bufferlist.h +++ b/ceph/include/bufferlist.h @@ -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++ );