Re: In-kernel units for block numbers, etc ...

2015-11-27 Thread Greg Troxel
A few questions to help address the bytes vs units notion: 1) What do FreeBSD, Linux, and Illumos do? OpenBSD/Dragonfly/others? 2) How would either strategy interact with ZFS? Long term, NetBSD needs to get 1st-class ZFS support, and what ZFS needs/wants is an interesting issue for that goal,

Re: In-kernel units for block numbers, etc ...

2015-11-27 Thread David Holland
On Fri, Nov 27, 2015 at 05:40:39PM +, David Holland wrote: > On Thu, Nov 26, 2015 at 11:25:21PM +, Michael van Elst wrote: > > dholland-t...@netbsd.org (David Holland) writes: > > > > >The problem I see with carrying around unit values at runtime (besides > > >potential overhead)

Re: In-kernel units for block numbers, etc ...

2015-11-27 Thread David Holland
On Thu, Nov 26, 2015 at 11:25:21PM +, Michael van Elst wrote: > dholland-t...@netbsd.org (David Holland) writes: > > >The problem I see with carrying around unit values at runtime (besides > >potential overhead) is that at least in FS-level code it'll make a > >huge mess. FFS, for example