Skip to contentSkip to conversation

Userland blkback?

DISCUSSION Pim van Riezen 2 participants 3 messages Aug 11, 2011 – Aug 12, 2011

lore
Share & tools
lore
#0 lore raw

Good day,

I'm toying around with a kernel mode caching layer that, at the moment, crashes into the ground if the driver is called from kernel space. I've been toying around with pvops dom0 kernels in the 2.6.3x family with the understanding that their lack of xen-blkback module would lead to an automatic fallback to a userspace blockdevice backend. Is there a secret switch to Xen 4.0/4.1 I need to be aware of to make this magic happen? Or is this a missing feature and does every pvops dom0-kernel that is not 3.0.1 need backports for xen-blkback?

Cheers,
Pim van Riezen

#1 lore raw
Quoted 8 lines · Pim van Riezen

Good day,

I'm toying around with a kernel mode caching layer that, at the moment, crashes into the ground if the driver is called from kernel space. I've been toying around with pvops dom0 kernels in the 2.6.3x family with the understanding that their lack of xen-blkback module would lead to an automatic fallback to a userspace blockdevice backend.

Which exact 2.6.3x kernels/branches are you using?
Jeremy's xen.git xen/stable-2.6.32.x branch definitely does have a xen-blkback driver included.

Quoted 2 lines

Is there a secret switch to Xen 4.0/4.1 I need to be aware of to make this magic happen? Or is this a missing feature and does every pvops dom0-kernel that is not 3.0.1 need backports for xen-blkback?

Xen 4.0 won't work, but afaik Xen 4.1 should fallback to qemu/userspace block backend if kernel xen-blkback is not available.

-- Pasi

#2 lore raw

Hi,

Quoted 1 line · Pasi Kärkkäinen

Which exact 2.6.3x kernels/branches are you using?

I tried vanilla 2.6.39.4. Obviously xen-specific git trees will have xen-blkback. And 3.0.1 vanilla has it.

Quoted 1 line

Jeremy's xen.git xen/stable-2.6.32.x branch definitely does have a xen-blkback driver included.

Yeah, found that one. Thanks.

Quoted 4 lines
Quoted 2 lines

Is there a secret switch to Xen 4.0/4.1 I need to be aware of to make this magic happen? Or is this a missing feature and does every pvops dom0-kernel that is not 3.0.1 need backports for xen-blkback?

Xen 4.0 won't work, but afaik Xen 4.1 should fallback to qemu/userspace block backend if kernel xen-blkback is not available.

Ah, perhaps I'm an idiot and didn't retest with a kernel with no blkback once I upgraded to 4.1. Thanks.

Cheers,
Pim