From: Theodore Tso Subject: Re: More ext4 acl/xattr corruption - 4th occurence now Date: Tue, 19 May 2009 11:04:30 -0400 Message-ID: <20090519150430.GC7927@mit.edu> References: <20090514110659.GA5146@kulgan> <20090514132506.GD5146@kulgan> <20090514140732.GI11352@mit.edu> <20090514143014.GH5146@kulgan> <20090514161254.GJ11352@mit.edu> <20090514210244.GL5146@kulgan> <20090514212325.GG21316@mit.edu> <20090519113644.GA7927@mit.edu> <4A129FA0.9050500@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thierry Vignaud , Kevin Shanahan , Andreas Dilger , linux-ext4@vger.kernel.org To: Alex Tomas Return-path: Received: from THUNK.ORG ([69.25.196.29]:58475 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbZESPEo (ORCPT ); Tue, 19 May 2009 11:04:44 -0400 Content-Disposition: inline In-Reply-To: <4A129FA0.9050500@sun.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Tue, May 19, 2009 at 04:01:36PM +0400, Alex Tomas wrote: > Theodore Tso wrote: >> On the other hand, most of the time writes into the directory will >> tend to be into pre-existing free space; but if you had two parallel >> cp's copying a large number of files into the same directory, that >> could certainly happen. > > isn't access to a directory protected with i_mutex ? Hmm, good point. Yes, that should prevent problems with directories. So there should only be a problem when two processes are writing to the same file at the same time. - Ted