Skip to contentSkip to conversation

rbd cache + libvirt

Qemu-devel Andrey Korolyov 2 participants 2 messages Jun 8, 2015 – Jun 9, 2015 8 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CABYiri-C5bczU_E0c3VMtMeuX6Za-_Z-t_-=Y5y7QXLBmtrwWw@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CABYiri__ZLUWbD=n8iJB8dmNHz_e2Xo49a-pF61SK+hgCZUDGQ@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CABYiri-CGRvq0SLS91GX=h1Nq+t8GhWo2j_JpdS48O=mmO_30Q@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 6 lines · Jason Dillaman

Hmm ... looking at the latest version of QEMU, it appears that the RBD cache settings are changed prior to reading the configuration file instead of overriding the value after the configuration file has been read [1]. Try specifying the path to a new configuration file via the "conf=/path/to/my/new/ceph.conf" QEMU parameter where the RBD cache is explicitly disabled [2].

[1] http://git.qemu.org/?p=qemu.git;a=blob;f=block/rbd.c;h=fbe87e035b12aab2e96093922a83a3545738b68f;hb=HEAD#l478
[2] http://ceph.com/docs/master/rbd/qemu-rbd/#usage

Actually the mentioned snippet presumes *expected* behavior with cache=xxx driving the overall cache behavior. Probably the pass itself (from cache=none to proper bitmask values in a backend properties) is broken in some way.

CCing qemu-devel for possible bug.

#9 lore raw
Quoted 8 lines · Andrey Korolyov
Quoted 6 lines · Jason Dillaman

Hmm ... looking at the latest version of QEMU, it appears that the RBD cache settings are changed prior to reading the configuration file instead of overriding the value after the configuration file has been read [1]. Try specifying the path to a new configuration file via the "conf=/path/to/my/new/ceph.conf" QEMU parameter where the RBD cache is explicitly disabled [2].

[1] http://git.qemu.org/?p=qemu.git;a=blob;f=block/rbd.c;h=fbe87e035b12aab2e96093922a83a3545738b68f;hb=HEAD#l478
[2] http://ceph.com/docs/master/rbd/qemu-rbd/#usage

Quoted 6 lines

Actually the mentioned snippet presumes *expected* behavior with cache=xxx driving the overall cache behavior. Probably the pass itself (from cache=none to proper bitmask values in a backend properties) is broken in some way.

CCing qemu-devel for possible bug.

CCing Josh Durgin and Jeff Cody for block/rbd.c