Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Disable faster caching for now
Browse files Browse the repository at this point in the history
  • Loading branch information
qizzz authored Dec 28, 2023
1 parent a449fcb commit cd5f076
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,10 @@ void WriteHandler(
SlotContext->CallbacksRan = 0; // incremented in callbacks
SlotContext->CallbacksToRun = 0; // incremented in WriteFile when async writes are issued successfully

CacheOnWrite(&Context->DataBuffer, Context->Request->Offset, Context->Request->FileId);
//
// TODO: CacheOnWrite(&Context->DataBuffer, Context->Request->Offset, Context->Request->FileId);
//
//
ErrorCodeT ret = WriteFile(Context->Request->FileId, Context->Request->Offset, &Context->DataBuffer,
WriteHandlerCallback, SlotContext, Sto, SlotContext->SPDKContext);
if (ret) {
Expand Down

0 comments on commit cd5f076

Please sign in to comment.