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



On Thu, 12 Nov 2009 01:03:24 +0100, Adam Hamsik <haaaad%gmail.com@localhost> 
wrote:
> Hi,
> 
> What about this patch ? It calls CGWEDGEINFO for all disks and try  
> CGDPARTINFO only if first ioctl returns ENOTTY.

I have the same patch locally, but I don't think its the right way(c) to do
it. IMHO, we should implement DIOCGDISKINFO ioctl(), and get rid of
WEDGEINFO and PARTINFO entirely here.

I am currently looking for the correct way of getting prop_dictionary
entries ("sectors-per-unit" out of "geometry" proplist) out of the struct
plistref, or simply find another solution around VOP_IOCTL().

Cheers,

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost




Home | Main Index | Thread Index | Old Index