linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Kleikamp <shaggy@austin.ibm.com>
To: UZAIR LAKHANI <uzairr_bs1b@yahoo.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Diff b/w generic_file_read & do_sync_read
Date: Wed, 23 Aug 2006 10:55:45 -0500	[thread overview]
Message-ID: <1156348545.9322.5.camel@kleikamp.austin.ibm.com> (raw)
In-Reply-To: <20060823141158.66808.qmail@web37507.mail.mud.yahoo.com>

On Wed, 2006-08-23 at 07:11 -0700, UZAIR LAKHANI wrote:
> Hello All,
> 
> I want to find out the difference between
> generic_file_read and do_sync_read. The thing I have
> got upto now is that generic_file_read uses the page
> cache for doing read therefore we must implement
> readpage function with generic_file_read. 
> 
> On the other hand do_sync_read uses aio_read function
> for doing read. I want a little bit explanation about
> the difference b/w these two.

There really isn't too much difference between the two.  There is a set
of patches in the -mm kernel that cleans up some of the duplicity and
removes generic_file_read completely:
http://marc.theaimsgroup.com/?l=linux-kernel&m=115214448319794&w=2

Shaggy
-- 
David Kleikamp
IBM Linux Technology Center


      reply	other threads:[~2006-08-23 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 14:11 Diff b/w generic_file_read & do_sync_read UZAIR LAKHANI
2006-08-23 15:55 ` Dave Kleikamp [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=1156348545.9322.5.camel@kleikamp.austin.ibm.com \
    --to=shaggy@austin.ibm.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).