Date: Tue, 18 May 2004 12:51:42 -0700 (PDT) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/fsck_ffs fsutil.c Message-ID: <200405181951.i4IJpg6R007961@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2004/05/18 12:51:42 PDT
FreeBSD src repository
Modified files:
sbin/fsck_ffs fsutil.c
Log:
Improve the delay algorithm used in bgfsck. From the author:
shuffles the timing and sleep calls in bgfsck from:
sleep timer_on io timer_off io io io io io io io
to
sleep io io io io io io io timer_on io timer_off
The original method basically guaranteed that the timed I/O included a
disk seek every time, which made bgfsck sleep for much longer than
necessary.
Submitted by: Dan Nelson
Reviewed by: kirk
Revision Changes Path
1.24 +6 -4 src/sbin/fsck_ffs/fsutil.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405181951.i4IJpg6R007961>
