X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=io_u.h;h=97270c94d1714c83064adae850e759621f58b665;hb=d60be7d51cbb601cc59dccc9f2a418072046a985;hp=9a423b24e5d9c44dc7fa7fbf769dc44baa75b01b;hpb=40e8d8314f10a578765e20a4eb574b2603d292df;p=fio.git diff --git a/io_u.h b/io_u.h index 9a423b24..97270c94 100644 --- a/io_u.h +++ b/io_u.h @@ -75,7 +75,7 @@ struct io_u { struct io_piece *ipo; - unsigned int resid; + unsigned long long resid; unsigned int error; /* @@ -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 */