Re: fsync(/dev/hda) does not sync data written to /dev/hda1

From: Pavel Machek (pavel@suse.cz)
Date: Fri Aug 11 2000 - 06:26:49 EST


Hi!

> > Is this a journal issue?
> >
> > On Wed, 9 Aug 2000, Pavel Machek wrote:
> >
> > > Hi!
> > >
> > > ...which is prety ugly behaviour. Is there way to fix it?
> > > Pavel
>
> No. This is an aliasing problem - the page cache sees hda and hda1 as
> independent entities. The current answer is don't do that.

Okay, my problem is I want noflushd to sync some disks but not all. I
guess I can loop over hda1..hda16 and fsync all of them, but that's
ugly (tm).

                                                                Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:27 EST