From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Van Hensbergen Subject: Re: mmap question Date: Tue, 22 Mar 2005 15:05:47 -0600 Message-ID: References: Reply-To: Eric Van Hensbergen Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Received: from wproxy.gmail.com ([64.233.184.204]:49657 "EHLO wproxy.gmail.com") by vger.kernel.org with ESMTP id S261957AbVCVVFs (ORCPT ); Tue, 22 Mar 2005 16:05:48 -0500 Received: by wproxy.gmail.com with SMTP id 68so1527274wra for ; Tue, 22 Mar 2005 13:05:47 -0800 (PST) To: linux-fsdevel@vger.kernel.org In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Just wanted to thank everybody for their help. I ended up backing off the lofty goals and worked towards just passing fsx for now. The main thing needed was an invalidate_inode_pages2(inode->i_mapping) when I wrote the file through the uncached method (in order to invalidate any read buffers). It turns out fsx was msync'ing the mmap writes so that path was already clear. I've got plenty of other fires to fight before I go after the more extreme case, and perhaps direct I/O is the appropriate way to go about it. Thanks again. -eric