[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 01/13] block: Add op blocker type "device IO"

From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v5 01/13] block: Add op blocker type "device IO"
Date: Sat, 23 May 2015 17:20:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 20.05.2015 08:16, Fam Zheng wrote:
It blocks device IO.

All bdrv_op_block_all/blk_op_block_all callers are taken care of:

- virtio_blk_data_plane_create
- virtio_scsi_hotplug

   Device creation, unblock it.

- bdrv_set_backing_hd

   Backing hd is not used by device, so blocking is OK.

- backup_start

   Blocking target when backup is running, unblock it.

- mirror_complete

   Blocking s->to_replace until mirror_exit, OK.

- block_job_complete

   The block job may be long running. Unblock it.

- init_blk_migration

   The block migration may be long running, Unblock it.

Signed-off-by: Fam Zheng <address@hidden>
  blockjob.c                      | 1 +
  hw/block/dataplane/virtio-blk.c | 1 +
  hw/scsi/virtio-scsi.c           | 1 +
  include/block/block.h           | 1 +
  migration/block.c               | 1 +
  5 files changed, 5 insertions(+)

Reviewed-by: Max Reitz <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]