[lkml]   [2000]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: sync: why disk cannot spin down

Russell King wrote:

> Xuan Baldauf writes:
> > this problem is possibly unrelated to reiserfs but related to
> > linux-kernel, but now I can prove it: regular sync()s do prevent the
> > spindown of (IDE) disks. There will be a call to sync() after 32 or less
> > seconds have elapsed since the last sync(). Not a problem itself, but
> > every sync spins up the disk again.
> You may want to have a look at the atime/diratime mount options, or
> even chattr -A to prevent certain files causing a write when they're
> run/read.
> Note that just executing "sync" causes its atime to be marked for update,
> which will cause a write back to disk a short while later.
> [...]

Thank you for waking me! :o) I forgot the atime issue. I wonder why it still
is the default...

> | | | | / / |

Just FYI: 404 Not Found

Xuân. :o)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean