aboutsummaryrefslogtreecommitdiff
path: root/block/nbd.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-07nbd: add missing coroutine_fn annotationsPaolo Bonzini1-5/+6
2022-06-29block: use 'unsigned' for in_flight field on driver stateDenis V. Lunev1-1/+1
2022-06-29nbd: trace long NBD operationsDenis V. Lunev1-1/+5
2022-06-24nbd: Drop dead code spotted by CoverityEric Blake1-6/+2
2022-04-26nbd: document what is protected by the CoMutexesPaolo Bonzini1-1/+7
2022-04-26nbd: take receive_mutex when reading requests[].receivingPaolo Bonzini1-8/+7
2022-04-26nbd: move s->state under requests_lockPaolo Bonzini1-36/+40
2022-04-26nbd: code motion and function renamingPaolo Bonzini1-9/+13
2022-04-26nbd: use a QemuMutex to synchronize yanking, reconnection and coroutinesPaolo Bonzini1-18/+26
2022-04-26nbd: keep send_mutex/free_sema handling outside nbd_co_do_establish_connectionPaolo Bonzini1-30/+26
2022-04-26nbd: remove peppering of nbd_client_connectedPaolo Bonzini1-13/+4
2022-04-26nbd: mark more coroutine_fnsPaolo Bonzini1-32/+32
2022-04-26nbd: safeguard against waking up invalid coroutinePaolo Bonzini1-7/+5
2022-03-21block/nbd.c: Fixed IO request coroutine not being wakeup when kill NBD serverRao Lei1-1/+1
2022-03-07block/nbd: don't restrict TLS usage to IP socketsDaniel P. Berrangé1-6/+2
2022-03-07block/nbd: support override of hostname for TLS certificate validationDaniel P. Berrangé1-3/+15
2022-03-07block: pass desired TLS hostname through from block driver clientDaniel P. Berrangé1-3/+4
2022-03-04block/coroutines: I/O and "I/O or GS" APIEmanuele Giuseppe Esposito1-0/+1
2022-02-11block/nbd: Move s->ioc on AioContext changeHanna Reitz1-0/+45
2022-02-11block/nbd: Assert there are no timers when closedHanna Reitz1-0/+4
2022-02-11block/nbd: Delete open timer when doneHanna Reitz1-0/+8
2022-02-11block/nbd: Delete reconnect delay timer when doneHanna Reitz1-0/+7
2021-12-21nbd: allow reconnect on open, with corresponding new optionsVladimir Sementsov-Ogievskiy1-1/+44
2021-09-29block/nbd: check that received handle is validVladimir Sementsov-Ogievskiy1-8/+3
2021-09-29block/nbd: drop connection_coVladimir Sementsov-Ogievskiy1-275/+100
2021-09-29block/nbd: refactor nbd_recv_coroutines_wake_all()Vladimir Sementsov-Ogievskiy1-9/+17
2021-09-29block/nbd: move nbd_recv_coroutines_wake_all() upVladimir Sementsov-Ogievskiy1-14/+14
2021-09-29block/nbd: nbd_channel_error() shutdown channel unconditionallyVladimir Sementsov-Ogievskiy1-3/+4
2021-09-29block: use int64_t instead of int in driver discard handlersVladimir Sementsov-Ogievskiy1-2/+4
2021-09-29block: use int64_t instead of int in driver write_zeroes handlersVladimir Sementsov-Ogievskiy1-2/+4
2021-09-29block: use int64_t instead of uint64_t in driver write handlersVladimir Sementsov-Ogievskiy1-2/+3
2021-09-29block: use int64_t instead of uint64_t in driver read handlersVladimir Sementsov-Ogievskiy1-2/+3
2021-07-12nbd: register yank function earlierLukas Straub1-3/+5
2021-06-29block/nbd: Use qcrypto_tls_creds_check_endpoint()Philippe Mathieu-Daudé1-3/+3
2021-06-18block/nbd: safer transition to receiving requestVladimir Sementsov-Ogievskiy1-1/+3
2021-06-18block/nbd: add nbd_client_connected() helperVladimir Sementsov-Ogievskiy1-11/+14
2021-06-18block/nbd: reuse nbd_co_do_establish_connection() in nbd_open()Vladimir Sementsov-Ogievskiy1-98/+5
2021-06-18nbd/client-connection: add option for non-blocking connection attemptVladimir Sementsov-Ogievskiy1-1/+1
2021-06-18block/nbd: split nbd_co_do_establish_connection out of nbd_reconnect_attemptVladimir Sementsov-Ogievskiy1-38/+42
2021-06-18nbd/client-connection: return only one io channelVladimir Sementsov-Ogievskiy1-11/+2
2021-06-18block/nbd: drop BDRVNBDState::siocVladimir Sementsov-Ogievskiy1-50/+48
2021-06-18block/nbd: don't touch s->sioc in nbd_teardown_connection()Vladimir Sementsov-Ogievskiy1-4/+0
2021-06-18block/nbd: use negotiation of NBDClientConnectionVladimir Sementsov-Ogievskiy1-14/+30
2021-06-18block/nbd: split nbd_handle_updated_info out of nbd_client_handshake()Vladimir Sementsov-Ogievskiy1-42/+58
2021-06-18nbd/client-connection: add possibility of negotiationVladimir Sementsov-Ogievskiy1-2/+2
2021-06-18nbd: move connection code from block/nbd to nbd/client-connectionVladimir Sementsov-Ogievskiy1-207/+0
2021-06-18block/nbd: introduce nbd_client_connection_release()Vladimir Sementsov-Ogievskiy1-18/+27
2021-06-18block/nbd: introduce nbd_client_connection_new()Vladimir Sementsov-Ogievskiy1-6/+9
2021-06-18block/nbd: rename NBDConnectThread to NBDClientConnectionVladimir Sementsov-Ogievskiy1-67/+67
2021-06-18block/nbd: make nbd_co_establish_connection_cancel() bs-independentVladimir Sementsov-Ogievskiy1-8/+9