linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Siddhartha Jain" <sid@netmagicsolutions.com>
To: "Linux fs-devel" <linux-fsdevel@vger.kernel.org>
Subject: RE: Write calls
Date: Thu, 24 Jun 2004 14:40:18 +0530	[thread overview]
Message-ID: <000b01c459cb$11f616b0$a101010a@nsplsales> (raw)
In-Reply-To: <20040623164737.GC32544@mail.shareable.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


      reply	other threads:[~2004-06-24  9:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 11:35 Write calls Siddhartha Jain
2004-06-23 15:10 ` David Woodhouse
2004-06-23 15:30   ` Siddhartha Jain
2004-06-23 16:47     ` Jamie Lokier
2004-06-24  9:10       ` Siddhartha Jain [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000b01c459cb$11f616b0$a101010a@nsplsales' \
    --to=sid@netmagicsolutions.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).