X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.h;h=97270c94d1714c83064adae850e759621f58b665;hp=2e0fd3fe789b49c46345bf184a7736fc83ac0d49;hb=99952ca7747d2ec56b4ff4771ddfaa03fb0e8407;hpb=7b865a2f23d22f82ffcc25756b1eeea55e57f1e3 diff --git a/io_u.h b/io_u.h index 2e0fd3fe..97270c94 100644 --- a/io_u.h +++ b/io_u.h @@ -92,6 +92,12 @@ struct io_u { struct workqueue_work work; }; + /* + * Post-submit callback. Used by the ZBD code. @success == true means + * that the I/O operation has been queued or completed successfully. + */ + void (*post_submit)(const struct io_u *, bool success); + /* * Callback for io completion */