Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-07 Thread Eric Blake
On 12/07/2016 07:55 AM, Kevin Wolf wrote: > Am 02.12.2016 um 20:22 hat Eric Blake geschrieben: >> In order to test the effects of artificial geometry constraints >> on operations like write zero or discard, we first need blkdebug >> to manage these actions. It also allows us to inject errors on >>

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-07 Thread Kevin Wolf
Am 02.12.2016 um 20:22 hat Eric Blake geschrieben: > In order to test the effects of artificial geometry constraints > on operations like write zero or discard, we first need blkdebug > to manage these actions. It also allows us to inject errors on > those operations, just like we can for read/wri

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Eric Blake
On 12/06/2016 04:23 PM, Max Reitz wrote: > On 06.12.2016 23:18, Eric Blake wrote: >> On 12/06/2016 04:14 PM, Max Reitz wrote: >>> On 06.12.2016 23:12, Eric Blake wrote: On 12/06/2016 04:00 PM, Max Reitz wrote: >> Tested by setting up an NBD server with export 'foo', then invoking: >>>

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Max Reitz
On 06.12.2016 23:18, Eric Blake wrote: > On 12/06/2016 04:14 PM, Max Reitz wrote: >> On 06.12.2016 23:12, Eric Blake wrote: >>> On 12/06/2016 04:00 PM, Max Reitz wrote: >>> > Tested by setting up an NBD server with export 'foo', then invoking: > $ ./qemu-io > qemu-io> open -o driver=blk

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Eric Blake
On 12/06/2016 04:14 PM, Max Reitz wrote: > On 06.12.2016 23:12, Eric Blake wrote: >> On 12/06/2016 04:00 PM, Max Reitz wrote: >> Tested by setting up an NBD server with export 'foo', then invoking: $ ./qemu-io qemu-io> open -o driver=blkdebug blkdebug::nbd://localhost:10809/foo >> >>

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Max Reitz
On 06.12.2016 23:12, Eric Blake wrote: > On 12/06/2016 04:00 PM, Max Reitz wrote: > >>> Tested by setting up an NBD server with export 'foo', then invoking: >>> $ ./qemu-io >>> qemu-io> open -o driver=blkdebug blkdebug::nbd://localhost:10809/foo > > By the way, I'd LOVE to know if there is a way

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Eric Blake
On 12/06/2016 04:00 PM, Max Reitz wrote: >> Tested by setting up an NBD server with export 'foo', then invoking: >> $ ./qemu-io >> qemu-io> open -o driver=blkdebug blkdebug::nbd://localhost:10809/foo By the way, I'd LOVE to know if there is a way to write a qemu-io command line that would do this

Re: [Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-06 Thread Max Reitz
On 02.12.2016 20:22, Eric Blake wrote: > In order to test the effects of artificial geometry constraints > on operations like write zero or discard, we first need blkdebug > to manage these actions. It also allows us to inject errors on > those operations, just like we can for read/write/flush. >

[Qemu-devel] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support

2016-12-02 Thread Eric Blake
In order to test the effects of artificial geometry constraints on operations like write zero or discard, we first need blkdebug to manage these actions. It also allows us to inject errors on those operations, just like we can for read/write/flush. We can also test the contract promised by the bl