libublksrv: ABI change: re-arrange fields of ublksrv_tgt_type and cache tgt_ops in ublksrv_queue

Re-arrange fields of ublksrv_tgt_type, so that fields referred in fast
path are put into the 1st cache line.

Also add one field to ublksrv_queue, so that tgt_ops can be cached,
given it is always referred in fast path.

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]>
4 files changed