- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index 618eee9..b03d196 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -701,7 +701,7 @@ NTSTATUS marshal_nfs41_open(
- if (entry->u.Open.EaMdl) {
- entry->u.Open.EaBuffer =
- MmMapLockedPagesSpecifyCache(entry->u.Open.EaMdl,
- - UserMode, MmNonCached, NULL, TRUE, NormalPagePriority);
- + UserMode, MmCached, NULL, TRUE, NormalPagePriority);
- if (entry->u.Open.EaBuffer == NULL) {
- print_error("MmMapLockedPagesSpecifyCache failed to map pages\n");
- status = STATUS_INSUFFICIENT_RESOURCES;
- @@ -758,7 +758,7 @@ NTSTATUS marshal_nfs41_rw(
- entry->u.ReadWrite.MdlAddress->MdlFlags |= MDL_MAPPING_CAN_FAIL;
- entry->buf =
- MmMapLockedPagesSpecifyCache(entry->u.ReadWrite.MdlAddress,
- - UserMode, MmNonCached, NULL, TRUE, NormalPagePriority);
- + UserMode, MmCached, NULL, TRUE, NormalPagePriority);
- if (entry->buf == NULL) {
- print_error("MmMapLockedPagesSpecifyCache failed to map pages\n");
- status = STATUS_INSUFFICIENT_RESOURCES;
- @@ -940,7 +940,7 @@ NTSTATUS marshal_nfs41_dirquery(
- __try {
- entry->u.QueryFile.mdl_buf =
- MmMapLockedPagesSpecifyCache(entry->u.QueryFile.mdl,
- - UserMode, MmNonCached, NULL, TRUE, NormalPagePriority);
- + UserMode, MmCached, NULL, TRUE, NormalPagePriority);
- if (entry->u.QueryFile.mdl_buf == NULL) {
- print_error("MmMapLockedPagesSpecifyCache failed to map pages\n");
- status = STATUS_INSUFFICIENT_RESOURCES;
sys/nfs41_driver.c: Switch to |MmCached| for testing
Posted by Anonymous on Sat 30th Sep 2023 14:23
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.