xnbd: Avoid calling blk_mq_free_queue

This call *must not* be called from block drivers.
The correct call is blk_cleanup_queue. blk_mq_free_queue
should only be called from block_sysfs when attempting
to release the request queue.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Fix xnbd_add_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
raio_kutils: Escelate response errors

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Fix error flows in open new device

- Avoid dynamic allocation of stbuf
- catch retvals in xnbd_open_device
- cleanup correctly in xnbd_open_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Rename xnbd_open_device -> xnbd_create_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Move open remote device to a routine

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Rename get_remote_file_size -> xnbd_stat_remote_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Rename setup_raio_server -> xnbd_setup_remote_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Rename register_xnbd_device -> xnbd_register_block_device

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
xnbd: Fix compilation warnings

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