Hello Josh,
after digging three days around i got it.
The problem is in aio_discard in internal.cc. The i/o fails when AioZero
or AioTruncate is used.
It works fine with AioRemove. It seems to depend on overlapping.
Hopefully i'm able to provide a patch this nicht.
Greets,
Stefan
--
To
mhm qemu rbd block driver. Get's always these errors back. As
rbd_aio_bh_cb is directly called from librbd the problem must be there.
Strangely i can't find where rbd_aio_bh_cb get's called with -512.
ANy further ideas?
rbd_aio_bh_cb got error back. Code: -512 Error: 0
rbd_aio_bh_cb got error
On 11/19/2012 03:16 PM, Stefan Priebe wrote:
mhm qemu rbd block driver. Get's always these errors back. As
rbd_aio_bh_cb is directly called from librbd the problem must be there.
Strangely i can't find where rbd_aio_bh_cb get's called with -512.
ANy further ideas?
Two ideas:
1) Is
Am 20.11.2012 00:33, schrieb Josh Durgin:
On 11/19/2012 03:16 PM, Stefan Priebe wrote:
mhm qemu rbd block driver. Get's always these errors back. As
rbd_aio_bh_cb is directly called from librbd the problem must be there.
Strangely i can't find where rbd_aio_bh_cb get's called with -512.
ANy
On 11/19/2012 03:42 PM, Stefan Priebe wrote:
Am 20.11.2012 00:33, schrieb Josh Durgin:
On 11/19/2012 03:16 PM, Stefan Priebe wrote:
mhm qemu rbd block driver. Get's always these errors back. As
rbd_aio_bh_cb is directly called from librbd the problem must be there.
Strangely i can't find where
Hi Josh,
i don't get it. Every debug line i print is a prositive fine value. BUt
rbd_aio_bh_cb get's called with these values. As you can see that are
not much values i copied all values 0 from log for discarding a whole
30GB device.
Stefan
Am 20.11.2012 00:47, schrieb Josh Durgin:
On
On 11/19/2012 04:00 PM, Stefan Priebe wrote:
Hi Josh,
i don't get it. Every debug line i print is a prositive fine value. BUt
rbd_aio_bh_cb get's called with these values. As you can see that are
not much values i copied all values 0 from log for discarding a whole
30GB device.
Could you