Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting Xen to go along with LVM



Hi,

I thought about this problem and I think that the problem is here:

 if (strcmp(devname, "dk") == 0) {
                /* dk device; get wedge data */
                struct dkwedge_info wi;
                err = VOP_IOCTL(xbdi->xbdi_vp, DIOCGWEDGEINFO, &wi,
                    FREAD, NOCRED);

All pseudo-block devices should work with DIOCGWEDGEINFO at least zfs
zvols, lvms and wedges. And only if CGDWEDGEINFO fails DIOCGDPART
should be called. I will try to write patch later today.

-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index