tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: locking patches for ufs_rename



On Wed, Oct 07, 2009 at 08:01:54PM +0200, Alan Barrett wrote:
 > > On what workload? What real workload has a large number of concurrent
 > > renames?
 > 
 > I often have simultaneous rsyncs running on a few large but disjoint
 > trees in the same file system.  rsync's usual mode of operation is
 > to create a temporary file in the target directory and then rename
 > it.

Bleh. Duly noted.

 > Would it make sense to use a global lock only for cross-directory
 > renames, and not for in-directory renames?

Yes.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index