All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alberto Garcia <berto@igalia.com>
To: Max Reitz <mreitz@redhat.com>, qemu-block@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Fam Zheng <famz@redhat.com>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	John Snow <jsnow@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v9 03/16] block: Add BB-BDS remove/insert notifiers
Date: Mon, 08 Feb 2016 12:53:41 +0100	[thread overview]
Message-ID: <w51pow7fmey.fsf@maestria.local.igalia.com> (raw)
In-Reply-To: <1454081776-30130-4-git-send-email-mreitz@redhat.com>

On Fri 29 Jan 2016 04:36:03 PM CET, Max Reitz <mreitz@redhat.com> wrote:
> bdrv_close() no longer signifies ejection of a medium, this is now done
> by removing the BDS from the BB. Therefore, we want to have a notifier
> for that in the BB instead of a close notifier in the BDS. The former is
> added now, the latter is removed later.
>
> Symmetrically, another notifier list is added that is invoked whenever a
> BDS is inserted. We will need that for virtio-blk and virtio-scsi, which
> can then remove their op blockers on BDS ejection and set them up on
> insertion.
>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
> Reviewed-by: Fam Zheng <famz@redhat.com>

Reviewed-by: Alberto Garcia <berto@igalia.com>

Berto

  reply	other threads:[~2016-02-08 11:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 15:36 [Qemu-devel] [PATCH v9 00/16] block: Rework bdrv_close_all() Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 01/16] block: Release named dirty bitmaps in bdrv_close() Max Reitz
2016-02-03  8:27   ` Fam Zheng
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 02/16] iotests: Add test for eject under NBD server Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 03/16] block: Add BB-BDS remove/insert notifiers Max Reitz
2016-02-08 11:53   ` Alberto Garcia [this message]
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 04/16] virtio-blk: Functions for op blocker management Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 05/16] virtio-scsi: Catch BDS-BB removal/insertion Max Reitz
2016-02-03  8:29   ` Fam Zheng
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 06/16] nbd: Switch from close to eject notifier Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 07/16] block: Remove BDS close notifier Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 08/16] block: Use blk_remove_bs() in blk_delete() Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 09/16] blockdev: Use blk_remove_bs() in do_drive_del() Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 10/16] block: Make bdrv_close() static Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 11/16] block: Add list of all BlockDriverStates Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 12/16] blockdev: Keep track of monitor-owned BDS Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 13/16] block: Add blk_remove_all_bs() Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 14/16] block: Rewrite bdrv_close_all() Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 15/16] iotests: Add test for multiple BB on BDS tree Max Reitz
2016-01-29 15:36 ` [Qemu-devel] [PATCH v9 16/16] iotests: Add test for block jobs and BDS ejection Max Reitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=w51pow7fmey.fsf@maestria.local.igalia.com \
    --to=berto@igalia.com \
    --cc=famz@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.