linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Fawad Lateef" <fawadlateef@gmail.com>
To: "UZAIR LAKHANI" <uzairr_bs1b@yahoo.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Regarding a Simple Version of nfs & nfsd (RPC ISSUES)
Date: Sun, 26 Mar 2006 12:46:25 +0500	[thread overview]
Message-ID: <1e62d1370603252346w20faf8cdu7a4d85728b2f6c7b@mail.gmail.com> (raw)
In-Reply-To: <20060324103703.18778.qmail@web37915.mail.mud.yahoo.com>

On 3/24/06, UZAIR LAKHANI <uzairr_bs1b@yahoo.com> wrote:
> Hello All,
>
> Thank you Avishay Traeger and Fawad Lateef for having
> a long discussion on my first mail.
>
> Now I try to explain my own design.
>
> Client FS -> read -> sys_read -> vfs_read ->
> wrapper_fs_read -> RPC ... -> server_read
>
> In the above design the client fs is a dummy fs which
> only mimics a fs and passes requests to the wrapper fs
> which by using RPC passes the requests to the server
> which is a actual fs.
>

I don't think your design is feasible Client FS will is the one which
gets request from VFS layer as user issues read which goes to sys_read
and then to vfs_read which in tern call your Client FS function for
reading and from here the request goes to server_read (can be through
RPC) which will act like a wrapper_fs_read and get the data from the
original FS and provide that back to the remote Client FS :) So the
architecture looking fine to me is like this:

User -> sys_read -> vfs_read -> client_fs_read -> RPC ->
wrapper_fs/server_fs_read -> underlying_fs_read -> storage


--
Fawad Lateef

      reply	other threads:[~2006-03-26  7:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20  4:18 Regarding a Simple Version of nfs & nfsd UZAIR LAKHANI
2006-03-20 23:10 ` Avishay Traeger
2006-03-21  9:09   ` Fawad Lateef
2006-03-21 13:06     ` Avishay Traeger
2006-03-21 13:33       ` Fawad Lateef
2006-03-21 15:09         ` Avishay Traeger
2006-03-21 15:27           ` Fawad Lateef
2006-03-21 15:40             ` Avishay Traeger
2006-03-21 15:53               ` Fawad Lateef
2006-03-24 10:37                 ` Regarding a Simple Version of nfs & nfsd (RPC ISSUES) UZAIR LAKHANI
2006-03-26  7:46                   ` Fawad Lateef [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=1e62d1370603252346w20faf8cdu7a4d85728b2f6c7b@mail.gmail.com \
    --to=fawadlateef@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=uzairr_bs1b@yahoo.com \
    /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).