kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: ranshalit@gmail.com (Ran Shalit)
To: kernelnewbies@lists.kernelnewbies.org
Subject: where is disk block access in kernel ?
Date: Wed, 2 Mar 2016 11:57:41 +0200	[thread overview]
Message-ID: <CAJ2oMhJz7uXkUh1LM1Ene3C0aP5APm4Y5hLMRBy67_mPYGoYMg@mail.gmail.com> (raw)

Hello,

I would like to monitor the write access to disk blocks (so that I can
monitor the block index in some bitmap)
I think this must be done in kernel (userspace have no such information)
I have tried to search in kernel but did not found where is the API to
access disk blocks.
There is libata-core.c , but I can't find such routines there, and
neither any documentation.

Is there any idea ?

Regards,
Ran

             reply	other threads:[~2016-03-02  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02  9:57 Ran Shalit [this message]
2016-03-03  6:18 ` where is disk block access in kernel ? Mulyadi Santosa
2016-03-03  7:09 ` Valdis.Kletnieks at vt.edu

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=CAJ2oMhJz7uXkUh1LM1Ene3C0aP5APm4Y5hLMRBy67_mPYGoYMg@mail.gmail.com \
    --to=ranshalit@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 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).