From 35c7c72601cee9692846de13117411d80b3d13f6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 27 Nov 2024 20:10:19 -0500 Subject: ioq: Add an ioq_nop() operation for benchmarking --- src/bftw.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bftw.c') diff --git a/src/bftw.c b/src/bftw.c index 61193d5..5725825 100644 --- a/src/bftw.c +++ b/src/bftw.c @@ -1051,6 +1051,10 @@ static int bftw_ioq_pop(struct bftw_state *state, bool block) { bftw_queue_attach(&state->fileq, file, true); break; + + default: + bfs_bug("Unexpected ioq op %d", (int)op); + break; } ioq_free(ioq, ent); -- cgit v1.2.3