lkml.org 
[lkml]   [2000]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fsync(/dev/hda) does not sync data written to /dev/hda1
On Fri, 11 Aug 2000, Pavel Machek wrote:

> > > > ...which is prety ugly behaviour. Is there way to fix it?
> >
> > 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).

I don't think it's unreasonable to put that loop inside the block drivers
(it probably does the same thing on SCSI). It doesn't address the more
general aliasing problem, but it seems sane enough.

--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."


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

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.044 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site