Source-Changes archive

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

Re: CVS commit: src/sbin/newfs_lfs



Jed Davis <jld%netbsd.org@localhost> writes:

> Log Message:
> When testing seek speed (for the -A option), be careful not to read past
> the end of the disk -- and error out if the read does fail, because
> that means our idea of the length is wrong, or worse.  Also, read at
> block-aligned offsets.

This is factually correct but misleading; the unaligned reads were the
real problem, while reading off the end effectively wouldn't happen
except on an extremely small filesystem.  I've reworded the message in
the repository.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))




Home | Main Index | Thread Index | Old Index