projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0ca15
)
engines/rbd: hide rbd_io_u_seen() if not used
author
Jens Axboe
<axboe@kernel.dk>
Mon, 1 Jul 2019 20:09:23 +0000
(14:09 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 1 Jul 2019 20:09:23 +0000
(14:09 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/rbd.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/rbd.c
b/engines/rbd.c
index 081b4a040f6425c1f0dad7c8884d7f163c87fad6..7d4d3faf9c5318462fb7c153b7e96a8437e40dc2 100644
(file)
--- a/
engines/rbd.c
+++ b/
engines/rbd.c
@@
-316,12
+316,14
@@
static inline int fri_check_complete(struct rbd_data *rbd, struct io_u *io_u,
return 0;
}
+#ifndef CONFIG_RBD_POLL
static inline int rbd_io_u_seen(struct io_u *io_u)
{
struct fio_rbd_iou *fri = io_u->engine_data;
return fri->io_seen;
}
+#endif
static void rbd_io_u_wait_complete(struct io_u *io_u)
{