Re: [Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-04 Thread Kevin Wolf
Am 04.05.2011 16:04, schrieb Andrea Arcangeli: > On Wed, May 04, 2011 at 03:57:28PM +0200, Kevin Wolf wrote: >> I can't see how you could leave ide_dma_cb without either scheduling >> another AIO request or setting aiocb = NULL in ide_set_inactive. I guess >> I need to reproduce this and do some de

Re: [Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-04 Thread Andrea Arcangeli
On Wed, May 04, 2011 at 03:57:28PM +0200, Kevin Wolf wrote: > I can't see how you could leave ide_dma_cb without either scheduling > another AIO request or setting aiocb = NULL in ide_set_inactive. I guess > I need to reproduce this and do some debugging... That would be nice to be sure. This has

Re: [Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-04 Thread Kevin Wolf
Am 04.05.2011 15:41, schrieb Andrea Arcangeli: > On Wed, May 04, 2011 at 10:08:12AM +0200, Kevin Wolf wrote: >> Isn't it a bug that qemu_aio_flush() doesn't clear aiocb/status? Should >> we move the ide_set_inactive() call from ide_dma_error to ide_dma_cb? > > How would that make a difference, it'

Re: [Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-04 Thread Andrea Arcangeli
On Wed, May 04, 2011 at 10:08:12AM +0200, Kevin Wolf wrote: > Isn't it a bug that qemu_aio_flush() doesn't clear aiocb/status? Should > we move the ide_set_inactive() call from ide_dma_error to ide_dma_cb? How would that make a difference, it's still running in aio context, running it a bit earlie

Re: [Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-04 Thread Kevin Wolf
Am 03.05.2011 22:03, schrieb Andrea Arcangeli: > Hello, > > This is just a minor cleanup adding \n. Thanks, applied to the block branch. > On a side note, it was good idea to keep it under DEBUG_IDE because if > iscsi server reboots or goes down, this would generate a flood of > errors if it's e

[Qemu-devel] [PATCH] ide: cleanup warnings

2011-05-03 Thread Andrea Arcangeli
Hello, This is just a minor cleanup adding \n. On a side note, it was good idea to keep it under DEBUG_IDE because if iscsi server reboots or goes down, this would generate a flood of errors if it's enabled (a flood of these warnings would have been shown with DEBUG_IDE on in such a condition).