[Pkg-sysvinit-devel] Disk syncing (SCSI, SATA) on reboot

Henrique de Moraes Holschuh hmh at debian.org
Thu Jan 18 02:25:21 CET 2007


Just so you guys know:

1. Kernels 2.6.18+ are guaranteed to properly sync SCSI and libata SATA
disks on reboot and shutdown.  halt(8) doesn't need to do it at all.  I will
check 2.6.16 too, since Adrian Bunk is taking care of that and it is likely
to be around for a while.

2. http://bugzilla.kernel.org/show_bug.cgi?id=7838,  Tejun Heo set me
straight re. the cache sync support (i.e. the kernel does the right thing),
and will eventually work on adding back proper head unload support on power
off and suspend-to-disk.

I will now look at the old non-libata SATA support and IDE support to check
whether it syncs disks and/or unload heads.  If it doesn't, I will open a
bug too for those subsystems.

I hope that for Lenny we will be able to remove the hideous crap from hell
we have in halt to deal with these issues, and just trust the kernel to do
it right, as it can do it a lot better than us.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list