Port-xen archive

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

Re: XEN_BSIZE vs DEV_BSIZE in xbd(4) and xbdback(4)



On Tue, May 03, 2011 at 10:42:19AM +0100, Jean-Yves Migeon wrote:
> Hi list,
> 
> What was the reason behind the XEN_BSIZE/VBD_BSIZE vs DEV_BSIZE
> split (in current state, they are identical, eg. 9 bits/512 bytes)

DEV_BSIZE is a NetBSD value for internal use.
XEN_BSIZE of VBD_BSIZE (we shoud agree on a single name here) is
the block size used between front and backend devices (this value
is also used by Linux, Solaris, FreeBSD, etc ...).
So although theu're currently identical their semantic is different,
and I'd like to keep them as distinct names.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index