ntdll: Don't print traces from async I/O callbacks.

This commit is contained in:
Alexandre Julliard 2007-06-29 13:40:42 +02:00
parent 21836d21cf
commit 1b57c3bf90
2 changed files with 0 additions and 17 deletions

View file

@ -2187,8 +2187,6 @@ static NTSTATUS read_changes_apc( void *user, PIO_STATUS_BLOCK iosb, NTSTATUS st
NTSTATUS ret = STATUS_SUCCESS;
int len, action, i;
TRACE("%p %p %08x\n", info, iosb, status);
SERVER_START_REQ( read_change )
{
req->handle = info->FileHandle;
@ -2218,9 +2216,6 @@ static NTSTATUS read_changes_apc( void *user, PIO_STATUS_BLOCK iosb, NTSTATUS st
pfni->Action = action;
pfni->FileNameLength = len * sizeof (WCHAR);
pfni->FileName[len] = 0;
TRACE("action = %d name = %s\n", pfni->Action,
debugstr_w(pfni->FileName) );
len = sizeof (*pfni) - sizeof (DWORD) + pfni->FileNameLength;
}
else

View file

@ -324,8 +324,6 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
async_fileio_read *fileio = user;
int fd, needs_close, result;
TRACE("%p %p 0x%x\n", iosb, fileio->buffer, status);
switch (status)
{
case STATUS_ALERTED: /* got some new data */
@ -340,10 +338,7 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
if (result < 0)
{
if (errno == EAGAIN || errno == EINTR)
{
TRACE("Deferred read %d\n", errno);
status = STATUS_PENDING;
}
else /* check to see if the transfer is complete */
status = FILE_GetNtStatus();
}
@ -364,10 +359,6 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
*/
status = (fileio->avail_mode) ? STATUS_SUCCESS : STATUS_PENDING;
}
TRACE("read %d more bytes %u/%u so far (%s)\n",
result, fileio->already, fileio->count,
(status == STATUS_SUCCESS) ? "success" : "pending");
}
break;
@ -709,8 +700,6 @@ static NTSTATUS FILE_AsyncWriteService(void *user, IO_STATUS_BLOCK *iosb, NTSTAT
int result, fd, needs_close;
enum server_fd_type type;
TRACE("(%p %p 0x%x)\n",iosb, fileio->buffer, status);
switch (status)
{
case STATUS_ALERTED:
@ -735,7 +724,6 @@ static NTSTATUS FILE_AsyncWriteService(void *user, IO_STATUS_BLOCK *iosb, NTSTAT
{
fileio->already += result;
status = (fileio->already < fileio->count) ? STATUS_PENDING : STATUS_SUCCESS;
TRACE("wrote %d more bytes %u/%u so far\n", result, fileio->already, fileio->count);
}
break;