From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Siddhartha Jain" Subject: RE: Write calls Date: Thu, 24 Jun 2004 14:40:18 +0530 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <000b01c459cb$11f616b0$a101010a@nsplsales> References: <20040623164737.GC32544@mail.shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: Received: from mymail.netmagicians.com ([202.87.39.126]:17096 "HELO mymail.netmagicians.com") by vger.kernel.org with SMTP id S264002AbUFXJKV (ORCPT ); Thu, 24 Jun 2004 05:10:21 -0400 To: "Linux fs-devel" In-Reply-To: <20040623164737.GC32544@mail.shareable.org> List-Id: linux-fsdevel.vger.kernel.org Thanks for the pointers Jamie. Can someone tell me how are the functions in fs/read_write.c (do_sync_write, vfs_write etc) related to functions like ioctl, mmap and aio_write. In the layered structure, application -> vfs -> FS Layer -> Generic Block device layer, what call belongs where? Thanks, Siddhartha >-----Original Message----- >From: linux-fsdevel-owner@vger.kernel.org >[mailto:linux-fsdevel-owner@vger.kernel.org]On Behalf Of Jamie Lokier > >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