Re: 100% sync block device on 2.2 ?

From: lk@Aniela.EU.ORG
Date: Thu Oct 04 2001 - 13:33:52 EST


> >
> > while :; do sync ; done
> >
> >
> > and everything should be in sync :)
>
> sync does not call fsync_dev(), nor it calls this flush ioctl i
> implemented in my driver.
> sync seems just to sync the vfs.

from my experience, sync flush all the buffers to disk just like the
kernel does when it receies a halt or reboot command.

>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:33 EST