/*
- * $Id: client_side_reply.cc,v 1.39 2003/02/13 08:07:47 robertc Exp $
+ * $Id: client_side_reply.cc,v 1.40 2003/02/19 21:23:51 robertc Exp $
*
* DEBUG: section 88 Client-side Reply Routines
* AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
clientReplyContext::saveState(clientHttpRequest * http)
{
assert(old_sc == NULL);
- debug(88, 1)("clientReplyContext::saveState: saving store context\n");
+ debug(88, 3)("clientReplyContext::saveState: saving store context\n");
http->old_entry = http->entry;
old_sc = sc;
old_reqsize = reqsize;
clientReplyContext::restoreState(clientHttpRequest * http)
{
assert(old_sc != NULL);
- debug(88, 1)("clientReplyContext::restoreState: Restoring store context\n");
+ debug(88, 3)("clientReplyContext::restoreState: Restoring store context\n");
http->entry = http->old_entry;
sc = old_sc;
reqsize = old_reqsize;
/*
- * $Id: store_io_diskd.cc,v 1.31 2003/01/23 00:38:15 robertc Exp $
+ * $Id: store_io_diskd.cc,v 1.32 2003/02/19 21:23:53 robertc Exp $
*
* DEBUG: section 79 Squid-side DISKD I/O functions.
* AUTHOR: Duane Wessels
/* Mark result as being owned - we want the refcounter to do the delete
* call */
cbdataReference(result);
- debug (0,0)("diskdFile with base %p allocating\n", result);
+ debug (79,3)("diskdFile with base %p allocating\n", result);
return result;
}
void
DiskdFile::operator delete (void *address)
{
- debug (0,0)("diskdFile with base %p deleting\n",address);
+ debug (79,3)("diskdFile with base %p deleting\n",address);
DiskdFile *t = static_cast<DiskdFile *>(address);
cbdataFree(address);
/* And allow the memory to be freed */
DiskdFile::DiskdFile (char const *aPath, DiskdIO *anIO) : errorOccured (false), IO(anIO)
{
assert (aPath);
- debug (79,0)("DiskdFile::DiskdFile: %s\n", aPath);
+ debug (79,3)("DiskdFile::DiskdFile: %s\n", aPath);
path_ = xstrdup (aPath);
id = diskd_stats.sio_id++;
}
void
DiskdFile::open (int flags, mode_t aMode, IORequestor::Pointer callback)
{
- debug (79,0)("DiskdFile::open: %p opening for %p\n", this, callback.getRaw());
+ debug (79,3)("DiskdFile::open: %p opening for %p\n", this, callback.getRaw());
assert (ioRequestor.getRaw() == NULL);
ioRequestor = callback;
assert (callback.getRaw());
void
DiskdFile::create (int flags, mode_t aMode, IORequestor::Pointer callback){
- debug (79,0)("DiskdFile::create: %p creating for %p\n", this, callback.getRaw());
+ debug (79,3)("DiskdFile::create: %p creating for %p\n", this, callback.getRaw());
assert (ioRequestor.getRaw() == NULL);
ioRequestor = callback;
assert (callback.getRaw());
void
DiskdFile::close()
{
- debug (79,0)("DiskdFile::close: %p closing for %p\n", this, ioRequestor.getRaw());
+ debug (79,3)("DiskdFile::close: %p closing for %p\n", this, ioRequestor.getRaw());
assert (ioRequestor.getRaw());
int x = storeDiskdSend(_MQD_CLOSE,
IO,
/* Mark result as being owned - we want the refcounter to do the delete
* call */
cbdataReference(result);
- debug (0,0)("diskdstate with base %p allocating\n", result);
+ debug (79,3)("diskdstate with base %p allocating\n", result);
return result;
}
void
diskdstate_t::operator delete (void *address)
{
- debug (0,0)("diskdstate with base %p deleting\n",address);
+ debug (79,3)("diskdstate with base %p deleting\n",address);
diskdstate_t *t = static_cast<diskdstate_t *>(address);
cbdataFree(address);
/* And allow the memory to be freed */
/*
- * $Id: store_io_ufs.cc,v 1.15 2003/01/23 00:38:22 robertc Exp $
+ * $Id: store_io_ufs.cc,v 1.16 2003/02/19 21:23:52 robertc Exp $
*
* DEBUG: section 79 Storage Manager UFS Interface
* AUTHOR: Duane Wessels
UFSFile::UFSFile (char const *aPath) : fd (-1)
{
assert (aPath);
- debug (79,0)("UFSFile::UFSFile: %s\n", aPath);
+ debug (79,3)("UFSFile::UFSFile: %s\n", aPath);
path_ = xstrdup (aPath);
}
void
UFSFile::close ()
{
- debug (79,0)("UFSFile::close: %p closing for %p\n", this, ioRequestor.getRaw());
+ debug (79,3)("UFSFile::close: %p closing for %p\n", this, ioRequestor.getRaw());
doClose();
assert (ioRequestor.getRaw());
ioRequestor->closeCompleted();