Re: 100% sync block device on 2.2 ?

lk@Aniela.EU.ORG
Thu, 4 Oct 2001 21:33:52 +0300 (EEST)


> >
> > 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/