Re: [Qemu-block] [PATCH 2/2] ide/atapi: partially avoid deadlock if the storage backend is dead

2015-09-06 Thread Peter Lieven
Am 03.09.2015 um 18:59 schrieb Stefan Hajnoczi: > On Thu, Aug 20, 2015 at 10:14:08AM +0200, Peter Lieven wrote: >> the blk_drain_all() that is executed if the guest issues a DMA cancel >> leads to a stuck main loop if the storage backend (e.g. a NFS share) >> is unresponsive

[Qemu-block] [PATCH] ide/atapi: make PIO read requests async

2015-09-01 Thread Peter Lieven
PIO read requests on the ATAPI interface used to be sync blk requests. This has to siginificant drawbacks. First the main loop hangs util an I/O request is completed and secondly if the I/O request does not complete (e.g. due to an unresponsive storage) Qemu hangs completely. Signed-off-by: Peter

Re: [Qemu-block] [Qemu-devel] [PATCH 1/2] block/io: allow AIOCB without callback

2015-08-31 Thread Peter Lieven
Am 21.08.2015 um 08:12 schrieb Eric Blake: On 08/20/2015 01:14 AM, Peter Lieven wrote: If the backend storage is unresponsive and we cancel a request due to a timeout we cannot immediately destroy the AIOCB because the storage might complete the original request laster if it is responsive again

Re: [Qemu-block] [PATCH] block/iscsi: validate block size returned from target

2015-08-31 Thread Peter Lieven
Am 14.08.2015 um 13:33 schrieb Peter Lieven: It has been reported that at least tgtd returns a block size of 0 for LUN 0. To avoid running into divide by zero later on and protect against other problematic block sizes validate the block size right at connection time. Cc: qemu-sta...@nongnu.org

Re: [Qemu-block] coroutine pool memory usage

2015-08-27 Thread Peter Lieven
Am 27.08.2015 um 17:23 schrieb Paolo Bonzini: i was debugging increased memory footprint of qemu over the past time and found that the coroutine pool heap usage can grow up to 70MB by just booting an Ubuntu Live CD. And those 70MB are never freed. Is this expected? Wouldn't it make sense to

[Qemu-block] [PATCH V3] block/nfs: cache allocated filesize for read-only files

2015-08-27 Thread Peter Lieven
If the file is readonly its not expected to grow so save the blocking call to nfs_fstat_async and use the value saved at connection time. Also important the monitor (and thus the main loop) will not hang if block device info is queried and the NFS share is unresponsive. Signed-off-by: Peter

[Qemu-block] coroutine pool memory usage

2015-08-27 Thread Peter Lieven
Hi, i was debugging increased memory footprint of qemu over the past time and found that the coroutine pool heap usage can grow up to 70MB by just booting an Ubuntu Live CD. And those 70MB are never freed. Is this expected? Wouldn't it make sense to asynchronically throw some coroutines (or

Re: [Qemu-block] [PATCHv2] block/nfs: cache allocated filesize for read-only files

2015-08-26 Thread Peter Lieven
Am 26.08.2015 um 17:31 schrieb Jeff Cody: On Mon, Aug 24, 2015 at 10:13:16PM +0200, Max Reitz wrote: On 24.08.2015 21:34, Peter Lieven wrote: Am 24.08.2015 um 20:39 schrieb Max Reitz: On 24.08.2015 10:06, Peter Lieven wrote: If the file is readonly its not expected to grow so save

[Qemu-block] [PATCHv2] block/nfs: cache allocated filesize for read-only files

2015-08-24 Thread Peter Lieven
If the file is readonly its not expected to grow so save the blocking call to nfs_fstat_async and use the value saved at connection time. Also important the monitor (and thus the main loop) will not hang if block device info is queried and the NFS share is unresponsive. Signed-off-by: Peter

Re: [Qemu-block] [PATCHv2] block/nfs: cache allocated filesize for read-only files

2015-08-24 Thread Peter Lieven
Am 24.08.2015 um 20:39 schrieb Max Reitz: On 24.08.2015 10:06, Peter Lieven wrote: If the file is readonly its not expected to grow so save the blocking call to nfs_fstat_async and use the value saved at connection time. Also important the monitor (and thus the main loop) will not hang

Re: [Qemu-block] [Qemu-devel] [PATCH] block/nfs: cache allocated filesize for read-only files

2015-08-21 Thread Peter Lieven
Am 21.08.2015 um 18:46 schrieb Max Reitz: On 2015-08-21 at 00:49, Peter Lieven wrote: If the file is readonly its not expected to grow so save the blocking call to nfs_fstat_async and use the value saved at connection time. Also important the monitor (and thus the main loop) will not hang

[Qemu-block] [PATCH] block/nfs: cache allocated filesize for read-only files

2015-08-21 Thread Peter Lieven
If the file is readonly its not expected to grow so save the blocking call to nfs_fstat_async and use the value saved at connection time. Also important the monitor (and thus the main loop) will not hang if block device info is queried and the NFS share is unresponsive. Signed-off-by: Peter

[Qemu-block] [PATCH 0/2] ide/atapi: partially avoid deadlock if the storage backend is dead

2015-08-20 Thread Peter Lieven
if the mounted CDROM is not used and was just not unmounted after usage. This approach avoids the blk_drain_all for read-only media and cancelles the AIO locally and makes the callback a NOP if the original request is completed after the NFS share is responsive again. Peter Lieven (2): block/io

[Qemu-block] [PATCH 1/2] block/io: allow AIOCB without callback

2015-08-20 Thread Peter Lieven
-off-by: Peter Lieven p...@kamp.de --- block/io.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/block/io.c b/block/io.c index d4bc83b..e628581 100644 --- a/block/io.c +++ b/block/io.c @@ -2007,7 +2007,9 @@ static void bdrv_aio_bh_cb(void *opaque

Re: [Qemu-block] [Qemu-devel] RFC cdrom in own thread?

2015-08-15 Thread Peter Lieven
Am 14.08.2015 um 16:45 schrieb Peter Lieven: Am 14.08.2015 um 16:08 schrieb Kevin Wolf: Am 14.08.2015 um 15:43 hat Peter Lieven geschrieben: Am 22.06.2015 um 23:54 schrieb John Snow: On 06/22/2015 09:09 AM, Peter Lieven wrote: Am 22.06.2015 um 11:25 schrieb Stefan Hajnoczi: On Fri, Jun 19

[Qemu-block] [PATCH] block/iscsi: validate block size returned from target

2015-08-14 Thread Peter Lieven
Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 4 dtc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/block/iscsi.c b/block/iscsi.c index 5002916..fac3a7a 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1214,6 +1214,10 @@ static void

Re: [Qemu-block] [Qemu-devel] RFC cdrom in own thread?

2015-08-14 Thread Peter Lieven
Am 22.06.2015 um 23:54 schrieb John Snow: On 06/22/2015 09:09 AM, Peter Lieven wrote: Am 22.06.2015 um 11:25 schrieb Stefan Hajnoczi: On Fri, Jun 19, 2015 at 2:14 PM, Peter Lieven p...@kamp.de wrote: Am 18.06.2015 um 11:36 schrieb Stefan Hajnoczi: On Thu, Jun 18, 2015 at 10:29 AM, Peter

Re: [Qemu-block] [Qemu-devel] RFC cdrom in own thread?

2015-08-14 Thread Peter Lieven
Am 14.08.2015 um 16:08 schrieb Kevin Wolf: Am 14.08.2015 um 15:43 hat Peter Lieven geschrieben: Am 22.06.2015 um 23:54 schrieb John Snow: On 06/22/2015 09:09 AM, Peter Lieven wrote: Am 22.06.2015 um 11:25 schrieb Stefan Hajnoczi: On Fri, Jun 19, 2015 at 2:14 PM, Peter Lieven p...@kamp.de

Re: [Qemu-block] [RESEND] RFC chaning zlib windowBits for QCOW2

2015-07-30 Thread Peter Lieven
Am 27.07.2015 um 16:30 schrieb Stefan Hajnoczi: On Mon, Jul 27, 2015 at 2:58 PM, Peter Lieven p...@kamp.de wrote: I was experimenting a little with optimized zlib versions (like zlib-ng) to optimize the speed of compressed qcow2 generation. I found out that chaning the windowBits from -12

[Qemu-block] [RESEND] RFC chaning zlib windowBits for QCOW2

2015-07-27 Thread Peter Lieven
Hi, I was experimenting a little with optimized zlib versions (like zlib-ng) to optimize the speed of compressed qcow2 generation. I found out that chaning the windowBits from -12 to -15 alone increases compression speed by about 15% while lowering the compressed size by about 6%. As a test

[Qemu-block] RFC chaning zlib windowBits for QCOW2

2015-07-13 Thread Peter Lieven
Hi, I was experimenting a little with optimized zlib versions (like zlib-ng) to optimize the speed of compressed qcow2 generation. I found out that chaning the windowBits from -12 to -15 alone increases compression speed by about 15% while lowering the compressed size by about 6%. As a test

[Qemu-block] [PATCH V3] block/nfs: add support for setting debug level

2015-07-07 Thread Peter Lieven
upcoming libnfs versions will support logging debug messages. Add support for it in qemu through a per-drive option. Examples: qemu -drive if=virtio,file=nfs://...,file.debug=2 qemu-img create -o debug=2 nfs://... 10G Signed-off-by: Peter Lieven p...@kamp.de --- v2-v3: use a per-drive option

[Qemu-block] [PATCH] block/iscsi: restore compatiblity with libiscsi 1.9.0

2015-06-26 Thread Peter Lieven
RHEL7 and others are stuck with libiscsi 1.9.0 since there unfortunately was an ABI breakage after that release. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 31 ++- configure |6 +++--- qemu-options.hx |3 ++- 3 files changed, 31

Re: [Qemu-block] [PATCH] block/nfs: add support for setting debug level

2015-06-26 Thread Peter Lieven
Am 26.06.2015 um 11:14 schrieb Stefan Hajnoczi: On Thu, Jun 25, 2015 at 03:26:46PM +0200, Peter Lieven wrote: Am 25.06.2015 um 15:18 schrieb Stefan Hajnoczi: On Tue, Jun 23, 2015 at 10:12:15AM +0200, Peter Lieven wrote: upcoming libnfs versions will support logging debug messages. Add support

[Qemu-block] [PATCH V2] block/iscsi: restore compatiblity with libiscsi 1.9.0

2015-06-26 Thread Peter Lieven
RHEL7 and others are stuck with libiscsi 1.9.0 since there unfortunately was an ABI breakage after that release. Signed-off-by: Peter Lieven p...@kamp.de --- v1-v2: - do not use reserved macro names [Paolo] - change text in qemu-options.hx to libiscsi 1.15.0 or greater block/iscsi.c

[Qemu-block] [PATCH V2] block/nfs: add support for setting debug level

2015-06-26 Thread Peter Lieven
upcoming libnfs versions will support logging debug messages. Add support for it in qemu through a cmdline parameter. Example qemu -nfs debug=99 -cdrom nfs://... Signed-off-by: Peter Lieven p...@kamp.de --- v1-v2: reworked patch to accept the debug level as a cmdline parameter instead

[Qemu-block] [PATCH] block/nfs: limit maximum readahead size to 1MB

2015-06-26 Thread Peter Lieven
a malicious caller could otherwise specify a very large value via the URI and force libnfs to allocate a large amount of memory for the readahead buffer. Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Lieven p...@kamp.de --- block/nfs.c |7 +++ 1 file changed, 7 insertions(+) diff

Re: [Qemu-block] [PATCH] block/nfs: add support for setting debug level

2015-06-25 Thread Peter Lieven
Am 25.06.2015 um 15:18 schrieb Stefan Hajnoczi: On Tue, Jun 23, 2015 at 10:12:15AM +0200, Peter Lieven wrote: upcoming libnfs versions will support logging debug messages. Add support for it in qemu through an URL parameter. Signed-off-by: Peter Lieven p...@kamp.de --- block/nfs.c | 4

Re: [Qemu-block] [PATCH] block/iscsi: add support for request timeouts

2015-06-25 Thread Peter Lieven
Am 25.06.2015 um 23:08 schrieb Paolo Bonzini: On 16/06/2015 13:45, Peter Lieven wrote: libiscsi starting with 1.15 will properly support timeout of iscsi commands. The default will remain no timeout, but this can be changed via cmdline parameters, e.g.: qemu -iscsi timeout=30 -drive file

Re: [Qemu-block] [PATCH] block/iscsi: add support for request timeouts

2015-06-25 Thread Peter Lieven
Am 23.06.2015 um 01:03 schrieb ronnie sahlberg: LGTM It is good to finally have timeouts that work in libiscsi, and a consumer that can use and benefit from it. Paolo, Kevin, Stefan, do you think this is sth for 2.4? Peter

[Qemu-block] [PATCH] block/nfs: add support for setting debug level

2015-06-23 Thread Peter Lieven
upcoming libnfs versions will support logging debug messages. Add support for it in qemu through an URL parameter. Signed-off-by: Peter Lieven p...@kamp.de --- block/nfs.c | 4 1 file changed, 4 insertions(+) diff --git a/block/nfs.c b/block/nfs.c index ca9e24e..f7388a3 100644 --- a/block

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-22 Thread Peter Lieven
Am 22.06.2015 um 11:25 schrieb Stefan Hajnoczi: On Fri, Jun 19, 2015 at 2:14 PM, Peter Lieven p...@kamp.de wrote: Am 18.06.2015 um 11:36 schrieb Stefan Hajnoczi: On Thu, Jun 18, 2015 at 10:29 AM, Peter Lieven p...@kamp.de wrote: Am 18.06.2015 um 10:42 schrieb Kevin Wolf: Am 18.06.2015 um 10

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 18.06.2015 um 08:59 schrieb Paolo Bonzini: On 18/06/2015 08:39, Peter Lieven wrote: It seems like the mainloop is waiting here: #0 0x7606c89c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #1 0x76068065 in _L_lock_858

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 18.06.2015 um 09:03 schrieb Peter Lieven: Am 18.06.2015 um 08:59 schrieb Paolo Bonzini: On 18/06/2015 08:39, Peter Lieven wrote: It seems like the mainloop is waiting here: #0 0x7606c89c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 18.06.2015 um 11:36 schrieb Stefan Hajnoczi: On Thu, Jun 18, 2015 at 10:29 AM, Peter Lieven p...@kamp.de wrote: Am 18.06.2015 um 10:42 schrieb Kevin Wolf: Am 18.06.2015 um 10:30 hat Peter Lieven geschrieben: Am 18.06.2015 um 09:45 schrieb Kevin Wolf: Am 18.06.2015 um 09:12 hat Peter

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 18.06.2015 um 09:45 schrieb Kevin Wolf: Am 18.06.2015 um 09:12 hat Peter Lieven geschrieben: Thread 2 (Thread 0x75550700 (LWP 2636)): #0 0x75d87aa3 in ppoll () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x55955d91 in qemu_poll_ns (fds

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 18.06.2015 um 10:42 schrieb Kevin Wolf: Am 18.06.2015 um 10:30 hat Peter Lieven geschrieben: Am 18.06.2015 um 09:45 schrieb Kevin Wolf: Am 18.06.2015 um 09:12 hat Peter Lieven geschrieben: Thread 2 (Thread 0x75550700 (LWP 2636)): #0 0x75d87aa3 in ppoll () from /lib/x86_64

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-18 Thread Peter Lieven
Am 17.06.2015 um 10:35 schrieb Kevin Wolf: Am 16.06.2015 um 17:34 hat Stefan Hajnoczi geschrieben: On Tue, Jun 16, 2015 at 3:44 PM, Peter Lieven p...@kamp.de wrote: I wonder how difficult it would be to have the IDE CDROM run in its own thread? We usually have ISOs mounted on an NFS share

[Qemu-block] RFC cdrom in own thread?

2015-06-16 Thread Peter Lieven
Hi, I wonder how difficult it would be to have the IDE CDROM run in its own thread? We usually have ISOs mounted on an NFS share as CDROM. Problem: If the NFS Share goes down, it takes down monitor, qmp, vnc etc. with it. Maybe its already possible to do this via cmdline args? Any ideas,

Re: [Qemu-block] RFC block/iscsi command timeout

2015-06-02 Thread Peter Lieven
Am 26.05.2015 um 12:21 schrieb Paolo Bonzini: On 26/05/2015 12:06, Kevin Wolf wrote: Am 26.05.2015 um 11:44 hat Paolo Bonzini geschrieben: On 26/05/2015 11:37, Kevin Wolf wrote: If we run into a timeout we theoretically have the following options: - reconnect - retry - error I would

Re: [Qemu-block] RFC block/iscsi command timeout

2015-05-26 Thread Peter Lieven
Am 22.05.2015 um 14:22 schrieb ronnie sahlberg: On Fri, May 22, 2015 at 12:30 AM, Peter Lieven p...@kamp.de mailto:p...@kamp.de wrote: Hi, next libiscsi version will allow to define command timeouts. At least for sync commands this was in fact possible since somewhen in 2013

Re: [Qemu-block] RFC block/iscsi command timeout

2015-05-26 Thread Peter Lieven
Am 26.05.2015 um 11:01 schrieb Kevin Wolf: Am 22.05.2015 um 09:30 hat Peter Lieven geschrieben: Hi, next libiscsi version will allow to define command timeouts. At least for sync commands this was in fact possible since somewhen in 2013. Per default this timeout is disabled. I would like

[Qemu-block] RFC block/iscsi command timeout

2015-05-22 Thread Peter Lieven
Hi, next libiscsi version will allow to define command timeouts. At least for sync commands this was in fact possible since somewhen in 2013. Per default this timeout is disabled. I would like to at least define a timeout for the sync commands (login, readcapacity, inquiry, logout etc) of

Re: [Qemu-block] qemu exit with pending I/O

2015-04-27 Thread Peter Lieven
Am 27.04.2015 um 12:47 schrieb Paolo Bonzini: On 16/04/2015 10:46, Peter Lieven wrote: I just run tests with the new libiscsi branch that allows async reconnects. I found that I cannot quit qemu while qemu is waiting for a reconnect to the storage. E.g. I start qemu and then shut down

Re: [Qemu-block] qemu exit with pending I/O

2015-04-27 Thread Peter Lieven
Am 27.04.2015 um 14:11 schrieb Paolo Bonzini: On 27/04/2015 13:51, Peter Lieven wrote: The reason to do this, is that while I/O is pending you do not know if the I/O has been completed or not. But if I consider a raw image, quitting without a clean shutdown can also leave an inconsistent

Re: [Qemu-block] [PATCH for-2.4 07/10] block/iscsi: bump libiscsi requirement to 1.10.0

2015-04-16 Thread Peter Lieven
Am 16.04.2015 um 14:33 schrieb Paolo Bonzini: On 16/04/2015 14:18, Peter Lieven wrote: We need this to support SCSI_STATUS_TASK_SET_FULL. Any reason apart from the missing constant? No, but I wanted to avoid starting checking for constants that were added shortly after this. You can't

[Qemu-block] [PATCH for-2.4 03/10] block/iscsi: rename iscsi_write_protected and let it return void

2015-04-16 Thread Peter Lieven
Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index 6cf7e99..221c9fc 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1253,11 +1253,11 @@ static void

Re: [Qemu-block] [PATCH for-2.4 05/10] block/iscsi: optimize WRITE10/16 if cache.writeback is not set

2015-04-16 Thread Peter Lieven
Am 16.04.2015 um 14:42 schrieb Paolo Bonzini: On 16/04/2015 14:18, Peter Lieven wrote: SCSI allowes to tell the target to not return from a write command if the date is not written to the disk. Use this so called FUA bit if it is supported to optimize WRITE commands if writeback is not allowed

[Qemu-block] [PATCH for-2.4 09/10] block/iscsi: bump year in copyright notice

2015-04-16 Thread Peter Lieven
Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/iscsi.c b/block/iscsi.c index 3d0ffeb..04c1309 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -2,7 +2,7 @@ * QEMU Block driver for iSCSI images

[Qemu-block] [PATCH for-2.4 V2 5/9] block/iscsi: optimize WRITE10/16 if cache.writeback is not set

2015-04-16 Thread Peter Lieven
. If we set the FUA bit we can ignore the following FLUSH. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index 237faa1..600 100644 --- a/block/iscsi.c +++ b/block

[Qemu-block] [PATCH for-2.4 V2 0/9] various improvements for the iSCSI driver

2015-04-16 Thread Peter Lieven
v1-v2: - removed the requirement for libiscsi 1.10.0 [Paolo] - reworked to force_next_flush logic [Paolo] Peter Lieven (9): block/iscsi: do not forget to logout from target block/iscsi: change all iscsilun properties from uint8_t to bool block/iscsi: rename iscsi_write_protected

[Qemu-block] [PATCH for-2.4 V2 9/9] block/iscsi: use the allocationmap also if cache.direct=on

2015-04-16 Thread Peter Lieven
-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/iscsi.c b/block/iscsi.c index 8364f97..8fca1d3 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1499,7 +1499,7 @@ static int iscsi_open(BlockDriverState *bs, QDict *options, int

[Qemu-block] RFC iscsi: set FUA and DPO if !bs-enable_write_cache

2015-04-14 Thread Peter Lieven
Hi, Ronnie came up with an idea to reduce latency if !bs-enable_write_cache for an iSCSI device. If !bs-enable_write_cache Qemu sends a flush after every single write. What could be done is the following: if (!bs-enable_write_cache) set FUA (force unit access) and DPO (disable page out)

[Qemu-block] [PATCH] block/iscsi: do not forget to logout from target

2015-04-14 Thread Peter Lieven
We actually were always impolitely dropping the connection and not cleanly logging out. Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/block/iscsi.c b/block/iscsi.c index ab20e4d..0b6d3dd 100644

Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs-enable_write_cache

2015-04-14 Thread Peter Lieven
Am 14.04.2015 um 11:04 schrieb Stefan Hajnoczi: On Tue, Apr 14, 2015 at 7:49 AM, Peter Lieven p...@kamp.de wrote: Ronnie came up with an idea to reduce latency if !bs-enable_write_cache for an iSCSI device. If !bs-enable_write_cache Qemu sends a flush after every single write. What could

Re: [Qemu-block] [Qemu-devel] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-13 Thread Peter Lieven
Am 11.04.2015 um 17:00 schrieb Peter Lieven: Am 11.04.2015 um 15:11 schrieb Peter Lieven: Am 09.04.2015 um 17:17 schrieb Paolo Bonzini: On 09/04/2015 16:54, Peter Lieven wrote: #define BM_MIGRATION_COMPAT_STATUS_BITS \ (IDE_RETRY_DMA | IDE_RETRY_PIO | \ IDE_RETRY_READ

Re: [Qemu-block] [Qemu-devel] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-09 Thread Peter Lieven
Am 07.04.2015 um 21:13 schrieb John Snow: On 04/07/2015 03:02 PM, Peter Lieven wrote: Am 07.04.2015 um 20:56 schrieb John Snow: On 04/07/2015 02:44 PM, Peter Lieven wrote: Am 07.04.2015 um 17:29 schrieb Dr. David Alan Gilbert: * Peter Lieven (p...@kamp.de) wrote: Hi David, Am

Re: [Qemu-block] [Qemu-devel] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-09 Thread Peter Lieven
Am 07.04.2015 um 21:13 schrieb John Snow: On 04/07/2015 03:02 PM, Peter Lieven wrote: Am 07.04.2015 um 20:56 schrieb John Snow: On 04/07/2015 02:44 PM, Peter Lieven wrote: Am 07.04.2015 um 17:29 schrieb Dr. David Alan Gilbert: * Peter Lieven (p...@kamp.de) wrote: Hi David, Am

Re: [Qemu-block] [Qemu-devel] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-07 Thread Peter Lieven
Am 07.04.2015 um 21:01 schrieb Dr. David Alan Gilbert: * Peter Lieven (p...@kamp.de) wrote: Am 07.04.2015 um 17:29 schrieb Dr. David Alan Gilbert: * Peter Lieven (p...@kamp.de) wrote: Hi David, Am 07.04.2015 um 10:43 schrieb Dr. David Alan Gilbert: Any particular workload or reproducer

Re: [Qemu-block] [Qemu-devel] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-07 Thread Peter Lieven
Am 07.04.2015 um 17:29 schrieb Dr. David Alan Gilbert: * Peter Lieven (p...@kamp.de) wrote: Hi David, Am 07.04.2015 um 10:43 schrieb Dr. David Alan Gilbert: Any particular workload or reproducer? Workload is almost zero. I try to figure out if there is a way to trigger it. Maybe playing

[Qemu-block] [PATCH] block/iscsi: handle zero events from iscsi_which_events

2015-04-07 Thread Peter Lieven
iscsi_which_events for changed events. Next libiscsi version will introduce async reconnects and zero events are returned while libiscsi is waiting for a reconnect retry. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 33 +++-- 1 file changed, 27

Re: [Qemu-block] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-06 Thread Peter Lieven
Am 06.04.2015 um 21:02 schrieb Peter Lieven: Am 06.04.2015 um 20:50 schrieb John Snow: On 04/06/2015 02:47 PM, Peter Lieven wrote: Hi all, is there a known issue in Qemu 2.2.1 where IDE stalls sometimes after a migration with Qemu 2.2.1? The migration succeeds, but it seems

Re: [Qemu-block] Migration sometimes fails with IDE and Qemu 2.2.1

2015-04-06 Thread Peter Lieven
Am 06.04.2015 um 20:50 schrieb John Snow: On 04/06/2015 02:47 PM, Peter Lieven wrote: Hi all, is there a known issue in Qemu 2.2.1 where IDE stalls sometimes after a migration with Qemu 2.2.1? The migration succeeds, but it seems that the complete I/O is hanging. This happens only

[Qemu-block] Enable debugging in a running vServer

2015-03-26 Thread Peter Lieven
Hi Block people, we recently observed some strange I/O stalls on some vServers. I suspect a bug in the target and already added some debugging output to libiscsi that could have helped to track the issue. However, to enable this debugging I would need to call iscsi_set_log_level during

<    1   2   3   4   5   6