From 6f4952811de0831afc2282d566b6282f10f9d80b Mon Sep 17 00:00:00 2001 From: Sandipsinh Rathod Date: Fri, 13 Sep 2024 01:08:40 -0400 Subject: [PATCH] no io cache --- projects/ssddOnTop/src/ir/eval_io.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/ssddOnTop/src/ir/eval_io.rs b/projects/ssddOnTop/src/ir/eval_io.rs index b0b5424..76d2874 100644 --- a/projects/ssddOnTop/src/ir/eval_io.rs +++ b/projects/ssddOnTop/src/ir/eval_io.rs @@ -6,7 +6,9 @@ use crate::value::Value; use std::num::NonZeroU64; pub async fn eval_io(io: &IO, ctx: &mut EvalContext<'_>) -> anyhow::Result { - let key = io.cache_key(ctx); + let val = eval_io_inner(io, ctx).await?; + Ok(val) +/* let key = io.cache_key(ctx); if let Some(val) = ctx.request_ctx.cache.get(&key).await? { Ok(val.clone()) @@ -17,7 +19,7 @@ pub async fn eval_io(io: &IO, ctx: &mut EvalContext<'_>) -> anyhow::Result) -> Result {