From mboxrd@z Thu Jan 1 00:00:00 1970 From: ranshalit@gmail.com (Ran Shalit) Date: Wed, 2 Mar 2016 11:57:41 +0200 Subject: where is disk block access in kernel ? Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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