From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: Write calls Date: Wed, 23 Jun 2004 17:47:37 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040623164737.GC32544@mail.shareable.org> References: <1088003447.18627.2678.camel@hades.cambridge.redhat.com> <002d01c45937$13404930$a101010a@nsplsales> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux fs-devel Return-path: Received: from mail.shareable.org ([81.29.64.88]:49577 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S266114AbUFWQrp (ORCPT ); Wed, 23 Jun 2004 12:47:45 -0400 To: Siddhartha Jain Content-Disposition: inline In-Reply-To: <002d01c45937$13404930$a101010a@nsplsales> List-Id: linux-fsdevel.vger.kernel.org Siddhartha Jain wrote: > The objective is to be able to replicate directories. There was a thread on linux-kernel about this recently. Look for "COW files". What you want to do is not trivial to do correctly. mmap() and hard links both make it complicated. Fortunately there was lots of good design in that thread, and we figured out how to do it properly. It's just waiting for someone to implement it properly :) Meanwhile, a patch is already available which handles simpler cases. -- Jamie