All of lore.kernel.org
 help / color / mirror / Atom feed
From: horserivers@gmail.com (horseriver)
To: kernelnewbies@lists.kernelnewbies.org
Subject: internel implemention of file operation
Date: Thu, 3 Jan 2013 18:09:43 +0800	[thread overview]
Message-ID: <20130103100943.GC20892@debian.localdomain> (raw)
In-Reply-To: <CAAYFAvpX+y1uupofu_n=6z4d=h25LFTY7mDRHyL3cFmk_z5Vww@mail.gmail.com>

On Thu, Jan 03, 2013 at 01:16:06PM +0530, Rajat Sharma wrote:

> > will it be maped with vm_area struct ?
> Yes if it is accessed via mmap system call.

you know that , in the struct vm_area_struct,there is a struct vm_operations_struct * vm_ops;

in this vm_operations_struct , there are open/close functions ,  are there necessary  relations between file 

operations and this struct ?

thanks!

> 
> > what is the relation between page-cache and file operation?
> file operations for data access like read/write will look into page-cache
> first before going to disk.
> 
> -Rajat
> 

  reply	other threads:[~2013-01-03 10:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03  6:59 internel implemention of file operation horseriver
2013-01-03  7:18 ` Rajat Sharma
2013-01-03  7:31   ` horseriver
2013-01-03  7:46     ` Rajat Sharma
2013-01-03 10:09       ` horseriver [this message]
2013-01-03 10:31         ` Rajat Sharma
2013-01-10 21:14   ` horseriver
2013-01-11  7:09     ` Rajat Sharma
2013-01-10 22:01       ` horseriver
2013-01-11  9:06         ` Rajat Sharma
  -- strict thread matches above, loose matches on Subject: below --
2013-02-01 18:09 dspjmt

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=20130103100943.GC20892@debian.localdomain \
    --to=horserivers@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.