Re: statfs() / statvfs() syscall ballsup...

From: Trond Myklebust
Date: Fri Oct 10 2003 - 12:07:32 EST


>>>>> " " == Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> writes:

>> Platter level doesn't matter. Storage access level matters.
>> Node1 and Node2 have to see the same thing. As long as I am
>> absolutely sure that when Node1's write() returns, any
>> subsequent read() on Node2 will see the change (normal barrier
>> stuff, really), it doesn't matter what happend on the Storage.

> Isn't that exactly what msync() exists for?

It can't, be used to invalidate the page cache (at least not in the
current implentation) so it won't help you in the above case where you
have 2 nodes writing to the same device.

Cheers,
Trond
-
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/