On Wed, Oct 07, 2009 at 08:01:54PM +0200, Alan Barrett wrote: > On Wed, 07 Oct 2009, David Holland 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. > > Would it make sense to use a global lock only for cross-directory > renames, and not for in-directory renames? Yes. For in-directory renames, we can just hold the directory lock the whole time and that will lock others out. Take care, Bill
Attachment:
pgpKOS9U_kXKz.pgp
Description: PGP signature