Re: disk_stat accounting [WAS: possible bug in ll_rw_blk.c..]
Michael Neuffer (email@example.com.Uni-Mainz.de)
Mon, 1 Dec 1997 06:23:01 +0100 (MET)
On Sun, 30 Nov 1997, mlord wrote:
> > I included blockstatarray-2.1.64 because it's a little cleaner than
> > before. In my 3 disk computer, it has 1*6 unused ints. This patch
> > linearly searches a sorted array of used devices. This should be changed
> > to binary search for n>8 or so. I'd rather see this one used instead of
> > the 'direct' patch.
> Mmm.. still not too keen on adding search loops to mainline code,
> especially when a faster good solution exists (above).
> Anybody else following this thread?
Yes, the nw code is MUCH better.