Re: where is disk block access in kernel ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Mar 2, 2016 at 4:57 PM, Ran Shalit <ranshalit@xxxxxxxxx> wrote:
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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Hi

Sounds like something doable via ftrace.

try to check if it is feasible to be done using ftrace


--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

This email has been sent from a virus-free computer protected by Avast.
www.avast.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux