aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-27block: remove all unused ->can_set_aio_ctx and ->set_aio_ctx callbacksEmanuele Giuseppe Esposito1-35/+0
2022-10-27blockjob: implement .change_aio_ctx in child_jobEmanuele Giuseppe Esposito1-0/+45
2022-10-07blockjob: remove unused functionsEmanuele Giuseppe Esposito1-14/+2
2022-10-07block_job_query: remove atomic readEmanuele Giuseppe Esposito1-1/+1
2022-10-07blockjob: protect iostatus field in BlockJob structEmanuele Giuseppe Esposito1-2/+3
2022-10-07blockjob: rename notifier callbacks as _lockedEmanuele Giuseppe Esposito1-10/+15
2022-10-07jobs: protect job.aio_context with BQL and job_mutexEmanuele Giuseppe Esposito1-1/+2
2022-10-07jobs: group together API calls under the same job lockEmanuele Giuseppe Esposito1-13/+22
2022-10-07blockjob: introduce block_job _locked() APIsEmanuele Giuseppe Esposito1-10/+42
2022-10-07job: move and update comments from blockjob.cEmanuele Giuseppe Esposito1-20/+0
2022-03-04assertions for blockjob.h global state APIEmanuele Giuseppe Esposito1-0/+11
2022-03-04GS and IO CODE macros for blockjob_int.hEmanuele Giuseppe Esposito1-0/+5
2021-12-28blockjob: drop BlockJob.blk fieldVladimir Sementsov-Ogievskiy1-19/+12
2021-12-28blockjob: implement and use block_job_get_aio_contextVladimir Sementsov-Ogievskiy1-0/+5
2021-06-25progressmeter: protect with a mutexEmanuele Giuseppe Esposito1-8/+25
2021-06-25blockjob: let ratelimit handle a speed of 0Paolo Bonzini1-10/+3
2021-05-04ratelimit: protect with a mutexPaolo Bonzini1-0/+3
2021-04-30block: drop ctx argument from bdrv_root_attach_childVladimir Sementsov-Ogievskiy1-2/+1
2021-04-30block: BdrvChildClass: add .get_parent_aio_context handlerVladimir Sementsov-Ogievskiy1-0/+8
2021-03-11Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-03-09' into st...Peter Maydell1-10/+8
2021-03-08blockjob: return status from block_job_set_speed()Vladimir Sementsov-Ogievskiy1-10/+8
2021-03-08blockjob: report a better error messageStefano Garzarella1-3/+7
2021-02-15blockjob: Fix crash with IOthread when block commit after snapshotMichael Qiu1-2/+6
2021-01-26blockjob: add set_speed to BlockJobDriverVladimir Sementsov-Ogievskiy1-0/+6
2020-09-23qemu/atomic.h: rename atomic_ to qatomic_Stefan Hajnoczi1-1/+1
2020-05-18block: Add BdrvChildRole to BdrvChildMax Reitz1-2/+3
2020-05-18block: Rename BdrvChildRole to BdrvChildClassMax Reitz1-1/+1
2020-05-05block: Add blk_new_with_bs() helperEric Blake1-5/+2
2020-03-11job: refactor progress to separate objectVladimir Sementsov-Ogievskiy1-8/+8
2019-12-18blockjob: Fix error message for negative speedKevin Wolf1-1/+2
2019-09-16blockjob: update nodes head while removing all bdrvSergio Lopez1-4/+13
2019-09-10job: drop job_drainVladimir Sementsov-Ogievskiy1-13/+0
2019-08-16Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell1-0/+3
2019-08-16Include qemu/main-loop.h lessMarkus Armbruster1-0/+1
2019-08-16block-backend: Queue requests while drainedKevin Wolf1-0/+3
2019-07-19block: Do not poll in bdrv_do_drained_end()Max Reitz1-1/+1
2019-06-18block: drop bs->jobVladimir Sementsov-Ogievskiy1-8/+0
2019-06-18blockdev: blockdev_mark_auto_del: drop usage of bs->jobVladimir Sementsov-Ogievskiy1-0/+14
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-1/+0
2019-06-04block: Adjust AioContexts when attaching nodesKevin Wolf1-2/+8
2019-06-04block: Add BlockBackend.ctxKevin Wolf1-1/+1
2019-05-28block: Make bdrv_root_attach_child() unref child_bs on failureAlberto Garcia1-1/+1
2019-05-20blockjob: Remove AioContext notifiersKevin Wolf1-41/+2
2019-05-20blockjob: Propagate AioContext change to all job nodesKevin Wolf1-0/+34
2019-03-19blockjob: fix user pause in block_job_error_actionVladimir Sementsov-Ogievskiy1-3/+5
2018-09-25block: Use a single global AioWaitKevin Wolf1-12/+1
2018-09-25blockjob: Lie better in child_job_drained_poll()Kevin Wolf1-1/+1
2018-09-25blockjob: Wake up BDS when job becomes idleKevin Wolf1-0/+18
2018-08-28qapi: Drop qapi_event_send_FOO()'s Error ** argumentPeter Xu1-8/+5
2018-06-18block: Really pause block jobs on drainKevin Wolf1-0/+23