Vladimir Sementsov-Ogievskiy
68d00e4293
block/block-backend: blk_iostatus_reset: drop usage of bs->job
...
We are going to remove bs->job pointer. Drop it's usage in
blk_iostatus_reset.
blk_iostatus_reset() has only two callers:
1. blk_attach_dev(). This doesn't have anything to do with jobs and
attaching a new guest device won't solve any problem the job
encountered, so no reason to reset the iostatus for the job.
2. qmp_cont(). This resets the iostatus for everything. We can just
call block_job_iostatus_reset() for all block jobs instead of going
through BlockBackend.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2019-06-18 16:41:10 +02:00
..
2018-03-19 14:58:37 -05:00
2019-06-04 15:22:22 +02:00
2019-06-14 14:16:57 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-18 16:41:10 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-04 15:22:22 +02:00
2019-06-12 13:18:33 +02:00
2018-08-31 16:28:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-13 08:58:55 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2018-12-14 11:52:40 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 18:31:46 +02:00
2019-01-11 15:46:56 +01:00
2019-06-12 18:32:32 +02:00
2019-06-04 16:55:58 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-13 09:55:09 -05:00
2019-06-18 16:41:09 +02:00
2019-06-13 10:00:42 -05:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-04 15:22:22 +02:00
2018-02-09 05:05:11 +01:00
2019-06-12 13:20:20 +02:00
2019-05-28 20:30:55 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-05-28 20:30:55 +02:00
2019-05-28 20:30:55 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:20:41 +02:00
2019-06-04 15:22:22 +02:00
2019-04-30 15:29:00 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2019-04-30 15:29:00 +02:00
2019-06-12 13:18:33 +02:00
2019-04-30 15:29:00 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-18 16:41:09 +02:00
2019-06-12 13:20:20 +02:00
2019-02-25 15:03:18 +01:00
2019-06-12 13:18:33 +02:00
2019-04-30 15:29:00 +02:00
2019-01-24 10:02:28 +00:00
2019-06-12 13:18:33 +02:00
2019-06-13 09:55:09 -05:00
2019-06-04 15:22:22 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-04 15:22:22 +02:00
2019-04-30 15:29:00 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-11 20:22:09 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2018-08-28 18:21:38 +02:00