Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 23 Jul 2002 13:06:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 23 Jul 2002 13:05:53 -0400 Received: from ns.suse.de ([213.95.15.193]:56846 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id ; Tue, 23 Jul 2002 13:04:47 -0400 To: Gregory Giguashvili Cc: linux-kernel@vger.kernel.org Subject: Re: Problem with msync system call References: From: Andi Kleen Date: 23 Jul 2002 19:07:57 +0200 In-Reply-To: Gregory Giguashvili's message of "23 Jul 2002 18:07:51 +0200" Message-ID: X-Mailer: Gnus v5.7/Emacs 20.6 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 10 Gregory Giguashvili writes: > I'm sure that someone has come across this problem and I sure hope there is > some workaround/patch available. Do a F_SETFL lock/unlock on the file That should act as a full NFS write barrier and flush all buffers. Best is if you synchronize between the various writers with the full lock. -Andi - 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/