All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>, Peter Lieven <pl@kamp.de>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Anthony Liguori <aliguori@amazon.com>
Subject: [Qemu-devel] [PULL 13/48] block/iscsi: remove .bdrv_has_zero_init
Date: Fri,  6 Dec 2013 17:36:12 +0100	[thread overview]
Message-ID: <1386347807-27359-14-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1386347807-27359-1-git-send-email-stefanha@redhat.com>

From: Peter Lieven <pl@kamp.de>

since commit 3ac21627 the default value changed to 0.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 block/iscsi.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/block/iscsi.c b/block/iscsi.c
index b7b5238..b6b62aa 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -1505,11 +1505,6 @@ static int iscsi_truncate(BlockDriverState *bs, int64_t offset)
     return 0;
 }
 
-static int iscsi_has_zero_init(BlockDriverState *bs)
-{
-    return 0;
-}
-
 static int iscsi_create(const char *filename, QEMUOptionParameter *options,
                         Error **errp)
 {
@@ -1608,8 +1603,6 @@ static BlockDriver bdrv_iscsi = {
     .bdrv_aio_writev = iscsi_aio_writev,
     .bdrv_aio_flush  = iscsi_aio_flush,
 
-    .bdrv_has_zero_init = iscsi_has_zero_init,
-
 #ifdef __linux__
     .bdrv_ioctl       = iscsi_ioctl,
     .bdrv_aio_ioctl   = iscsi_aio_ioctl,
-- 
1.8.4.2

  parent reply	other threads:[~2013-12-06 16:37 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06 16:35 [Qemu-devel] [PULL 00/48] Block patches Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 01/48] coroutine: remove qemu_co_queue_wait_insert_head Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 02/48] coroutine: remove unused CoQueue AioContext Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 03/48] vmdk: Fix creating big description file Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 04/48] block: generalize BlockLimits handling to cover bdrv_aio_discard too Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 05/48] block: add flags to BlockRequest Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 06/48] block: add flags argument to bdrv_co_write_zeroes tracepoint Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 07/48] block: add bdrv_aio_write_zeroes Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 08/48] block: handle ENOTSUP from discard in generic code Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 09/48] block: make bdrv_co_do_write_zeroes stricter in producing aligned requests Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 10/48] vpc, vhdx: add get_info Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 11/48] block drivers: add discard/write_zeroes properties to bdrv_get_info implementation Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 12/48] block drivers: expose requirement for write same alignment from formats Stefan Hajnoczi
2013-12-06 16:36 ` Stefan Hajnoczi [this message]
2013-12-06 16:36 ` [Qemu-devel] [PULL 14/48] block/iscsi: updated copyright Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 15/48] block/iscsi: check WRITE SAME support differently depending on MAY_UNMAP Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 16/48] raw-posix: implement write_zeroes with MAY_UNMAP for files Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 17/48] raw-posix: implement write_zeroes with MAY_UNMAP for block devices Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 18/48] raw-posix: add support for write_zeroes on XFS and " Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 19/48] qemu-iotests: 033 is fast Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 20/48] scsi-disk: catch write protection errors in UNMAP Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 21/48] scsi-disk: reject ANCHOR=1 for UNMAP and WRITE SAME commands Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 22/48] scsi-disk: correctly implement WRITE SAME Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 23/48] block: Close backing file early in bdrv_img_create Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 24/48] qcow2: Zero-initialise first cluster for new images Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 25/48] qemu-iotests: Add "-c <cache-mode>" option Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 26/48] qemu-iotests: Honour cache mode in iotests.py Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 27/48] qemu-iotests: Add _default_cache_mode and _supported_cache_modes Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 28/48] qemu-iotests: Change default cache mode to "writeback" Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 29/48] qemu-iotests: Clean up spaces in usage output Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 30/48] qemu-iotests: Split qcow2 only cases in 048 Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 31/48] snapshot: distinguish id and name in load_tmp Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 32/48] qemu-nbd: support internal snapshot export Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 33/48] qemu-iotests: add 058 internal snapshot export with qemu-nbd case Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 34/48] qemu-img: add -l for snapshot in convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 35/48] qemu-iotests: add test for snapshot in qemu-img convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 36/48] qemu-nbd: add doc for option -f Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 37/48] qemu-img: add support for skipping zeroes in input during convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 38/48] qemu-img: fix usage instruction for qemu-img convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 39/48] block/iscsi: set bdi->cluster_size Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 40/48] block: add opt_transfer_length to BlockLimits Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 41/48] block/iscsi: set bs->bl.opt_transfer_length Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 42/48] qemu-img: dynamically adjust iobuffer size during convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 43/48] qemu-img: round down request length to an aligned sector Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 44/48] qemu-img: decrease progress update interval on convert Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 45/48] qcow2: use start_of_cluster() and offset_into_cluster() everywhere Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 46/48] block: clean up bdrv_drain_all() throttling comments Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 47/48] aio: make aio_poll(ctx, true) block with no fds Stefan Hajnoczi
2013-12-06 16:36 ` [Qemu-devel] [PULL 48/48] qemu-iotests: filter QEMU monitor \r\n Stefan Hajnoczi

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=1386347807-27359-14-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=pbonzini@redhat.com \
    --cc=pl@kamp.de \
    --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.