Skip to contentSkip to conversation

Something broken with ceph-rbd images since couple of days ( after block-changes)

Qemu-devel Kevin Wolf 2 participants 2 messages Apr 25, 2013 – Apr 30, 2013 4 messages not in the archive

lore
Share & tools
lore

Kevin Wolf

author
#4 lore raw
In reply to a message not in the archive

Am 25.04.2013 um 19:25 hat Stefan Priebe - Profihost AG geschrieben:

Quoted 3 lines

Ist this qemu 1.4.1? Did you received the patch?

Stefan

No, this is actually about git master. Not sure why this was directed to qemu-stable.

Kevin

Quoted 47 lines

Am 25.04.2013 um 16:13 schrieb Oliver Francke <[email protected]>:

Quoted 45 lines

Cool,

thnx for the quick response... Not a C-coder any more, only wild-not-too-bad guessing ;)

Oliver.

Quoted 22 lines · Kevin Wolf

Am 25.04.2013 um 15:01 hat Oliver Francke geschrieben:

Quoted 5 lines

Hi,

just encountered a bug while playing with latest aio_flush option in ceph + qemu handling.

Quoted 8 lines

I got a "invalid argument" even with "qemu-img info rbd:pool/image.rbd".

Perhaps qemu_rbd_open is called with wrong number of params somewhere else after expanding params with "QDict *options" in block/rbd.c line around line 444 with current master. ( talking of qemu-54f106d)

Just as a quick note ;)

Thanks for the report, Oliver. The problem is the qemu_opts_del() in line 481, which is too early. This frees the filename already when it's still needed for the parsing.

I'm copying qemu-devel and Josh, just so everyone is informed. I'll try to send a patch myself in a few minutes.

Kevin

Signature · 10 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh
#5 lore raw

Hi,

took a snapshot of yesterdays "master" after "rbd: Fix use after free in rbd_open()"... Works perfectly ;)

Thank you very much for the bleeding fast reaction...

Oliver.

Quoted 55 lines · Kevin Wolf

Am 25.04.2013 um 19:25 hat Stefan Priebe - Profihost AG geschrieben:

Quoted 3 lines

Ist this qemu 1.4.1? Did you received the patch?

Stefan

No, this is actually about git master. Not sure why this was directed to qemu-stable.

Kevin

Quoted 46 lines

Am 25.04.2013 um 16:13 schrieb Oliver Francke <[email protected]>:

Quoted 44 lines

Cool,

thnx for the quick response... Not a C-coder any more, only wild-not-too-bad guessing ;)

Oliver.

Quoted 22 lines · Kevin Wolf

Am 25.04.2013 um 15:01 hat Oliver Francke geschrieben:

Quoted 5 lines

Hi,

just encountered a bug while playing with latest aio_flush option in ceph + qemu handling.

Quoted 8 lines

I got a "invalid argument" even with "qemu-img info rbd:pool/image.rbd".

Perhaps qemu_rbd_open is called with wrong number of params somewhere else after expanding params with "QDict *options" in block/rbd.c line around line 444 with current master. ( talking of qemu-54f106d)

Just as a quick note ;)

Thanks for the report, Oliver. The problem is the qemu_opts_del() in line 481, which is too early. This frees the filename already when it's still needed for the parsing.

I'm copying qemu-devel and Josh, just so everyone is informed. I'll try to send a patch myself in a few minutes.

Kevin

Signature · 10 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh
Signature · 10 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh