mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[MUP] Mute DPRINT1's that slow down shared folder accesses (#5545)
Logging was too heavy. Made some DPRINT1's DPRINT's. We could make it 3 times faster. CORE-19105
This commit is contained in:
parent
ea97c48909
commit
b12ab486d8
1 changed files with 4 additions and 4 deletions
|
@ -1306,7 +1306,7 @@ MupRerouteOpen(PFILE_OBJECT FileObject,
|
||||||
PWSTR FullPath;
|
PWSTR FullPath;
|
||||||
ULONG TotalLength;
|
ULONG TotalLength;
|
||||||
|
|
||||||
DPRINT1("Rerouting %wZ with %wZ\n", &FileObject->FileName, &UncProvider->DeviceName);
|
DPRINT("Rerouting %wZ with %wZ\n", &FileObject->FileName, &UncProvider->DeviceName);
|
||||||
|
|
||||||
/* Get the full path name (device name first, and requested file name appended) */
|
/* Get the full path name (device name first, and requested file name appended) */
|
||||||
TotalLength = UncProvider->DeviceName.Length + FileObject->FileName.Length;
|
TotalLength = UncProvider->DeviceName.Length + FileObject->FileName.Length;
|
||||||
|
@ -1778,7 +1778,7 @@ QueryPathCompletionRoutine(PDEVICE_OBJECT DeviceObject,
|
||||||
Prefix->ExternalAlloc = TRUE;
|
Prefix->ExternalAlloc = TRUE;
|
||||||
|
|
||||||
/* Insert the accepted prefix in the table of known prefixes */
|
/* Insert the accepted prefix in the table of known prefixes */
|
||||||
DPRINT1("%wZ accepted %wZ\n", &Prefix->UncProvider->DeviceName, &Prefix->AcceptedPrefix);
|
DPRINT("%wZ accepted %wZ\n", &Prefix->UncProvider->DeviceName, &Prefix->AcceptedPrefix);
|
||||||
ExAcquireResourceExclusiveLite(&MupPrefixTableLock, TRUE);
|
ExAcquireResourceExclusiveLite(&MupPrefixTableLock, TRUE);
|
||||||
if (RtlInsertUnicodePrefix(&MupPrefixTable, &Prefix->AcceptedPrefix, &Prefix->PrefixTableEntry))
|
if (RtlInsertUnicodePrefix(&MupPrefixTable, &Prefix->AcceptedPrefix, &Prefix->PrefixTableEntry))
|
||||||
{
|
{
|
||||||
|
@ -1897,7 +1897,7 @@ CreateRedirectedFile(PIRP Irp,
|
||||||
return STATUS_INVALID_DEVICE_REQUEST;
|
return STATUS_INVALID_DEVICE_REQUEST;
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT1("Request for opening: %wZ\n", &FileObject->FileName);
|
DPRINT("Request for opening: %wZ\n", &FileObject->FileName);
|
||||||
|
|
||||||
Referenced = FALSE;
|
Referenced = FALSE;
|
||||||
BreakOnFirst = TRUE;
|
BreakOnFirst = TRUE;
|
||||||
|
@ -2104,7 +2104,7 @@ CreateRedirectedFile(PIRP Irp,
|
||||||
ExReleaseResourceLite(&MasterQueryContext->QueryPathListLock);
|
ExReleaseResourceLite(&MasterQueryContext->QueryPathListLock);
|
||||||
|
|
||||||
/* Query the provider !*/
|
/* Query the provider !*/
|
||||||
DPRINT1("Requesting UNC provider: %wZ\n", &UncProvider->DeviceName);
|
DPRINT("Requesting UNC provider: %wZ\n", &UncProvider->DeviceName);
|
||||||
DPRINT("Calling: %wZ\n", &UncProvider->DeviceObject->DriverObject->DriverName);
|
DPRINT("Calling: %wZ\n", &UncProvider->DeviceObject->DriverObject->DriverName);
|
||||||
Status = IoCallDriver(UncProvider->DeviceObject, QueryIrp);
|
Status = IoCallDriver(UncProvider->DeviceObject, QueryIrp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue