libublksrv: ABI change: add callback of handle_io_background
Some target/backend code has meta data to be flushed, which is usually
done in background.
So add ->handle_io_background() for this purpose, and tgt_type->extra_ios
is supposed to work together with this cabllback.
It is target code's responsibility for managing these extra IOs and
assigning them for handling meta IOs.
This change breaks ABI of libublksrv, so please update libublksrv.
It is planned to stabilize libublksrv ABI when releasing v1.0, and hope it
can be done soon.
Signed-off-by: Ming Lei <[email protected]>
2 files changed