nbdx_server: Modify server data_iov setting to new API

New API expose sglist elements instead of IO vector.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
nbdx: adapt client to sg list api and update max_hw_sectors_kb accordingly

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
nbdx_server: Fix segfault in submit completion handler

When destroy request is received, we handle the destroy (free resources)
and post the destroy response. This is wrong since there may be inflight IOs
(submit requests) causing us to hit the segfault.
Free resources after getting destroy completion.

Signed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
nbdx: update client session creation due to API change

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>