Re: libata in 2.4.24?
From: Jamie Lokier
Date: Tue Dec 02 2003 - 19:49:48 EST
bill davidsen wrote:
> With O_SYNC files there is the possibility of having a don't cache bit
> in the packet to the drive, even with write caching. With fsync I don't
> see any way to do it after the fact for only some of the data in the
> drive cache. That's just an observation.
With fsync, can't you write all the dirty pages with that bit set,
write _again_ all the pages in RAM which are clean but which have
never been written with the don't-cache bit, and read-then-write with
the bit set all the pages which are not in RAM but which were dirtied
and written without the don't cache bit set?
I know, it sounds a bit complicated :)
But would it work?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/