From 7fdad7da6429a3ea4ff07dec18bdd8bf9c77415e Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 12 Apr 2021 16:11:18 -0700 Subject: [PATCH] crimson/os/seastore/cache: assert rather than discard in get_extent Signed-off-by: Samuel Just --- src/crimson/os/seastore/cache.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/crimson/os/seastore/cache.h b/src/crimson/os/seastore/cache.h index 3125cc1e2e04d..1b0c00f5113bf 100644 --- a/src/crimson/os/seastore/cache.h +++ b/src/crimson/os/seastore/cache.h @@ -173,7 +173,10 @@ public: std::move(ref)); }, get_extent_ertr::pass_further{}, - crimson::ct_error::discard_all{}); + crimson::ct_error::assert_all{ + "Cache::get_extent: invalid error" + } + ); } } -- 2.39.5