summaryrefslogtreecommitdiffstats
path: root/src/bftw.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-11-27 20:10:19 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-12-02 16:39:16 -0500
commit35c7c72601cee9692846de13117411d80b3d13f6 (patch)
treec111329c85ef972e536d32d1ff0c00f5f0990142 /src/bftw.c
parentbac8214e90488fd562d29f6fea18ae75ecd9029e (diff)
downloadbfs-35c7c72601cee9692846de13117411d80b3d13f6.tar.xz
ioq: Add an ioq_nop() operation for benchmarking
Diffstat (limited to 'src/bftw.c')
-rw-r--r--src/bftw.c4
1 files changed, 4 insertions, 0 deletions
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);