PATCH: Forcible delaying of UFS (soft)updates

Tony Finch dot at dotat.at
Sat Apr 12 16:02:14 PDT 2003


Marko Zec <zec at tel.fer.hr> wrote:
>
>Here's a patch against 4.8-RELEASE kernel that allows disk writes on
>softupdates-enabled filesystems to be delayed for (theoretically)
>arbitrarily long periods of time. The motivation for such updating
>policy is surprisingly not purely suicidal - it can allow disks on
>laptops to spin down immediately after I/O operations and stay idle for
>longer periods of time, thus saving considerable amount of battery
>power.

I've used a much simpler patch for a number of years, which allows
you to increase the 30s syncer interval. See
http://dotat.at/prog/buildworld/patches.src/04.syncdelay.patch.disabled

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
LANDS END TO ST DAVIDS HEAD INCLUDING THE BRISTOL CHANNEL: EAST OR SOUTHEAST
4, INCREASING 7, LOCALLY GALE 8, EASING SOUTHEAST 4 OR 5 LATER. FAIR, THEN
RAIN, WITH RISK OF MIST. GOOD, BECOMING MODERATE OR POOR. SLIGHT OR MODERATE,
LOCALLY ROUGH LATER.


More information about the freebsd-fs mailing list