Michael Sternberg wrote:
We have to write driver that intercept all I/O to disk and notifies
user-mode application with following data: block length and device
number. What is a proper way to implement it: to write a block driver
above disk layer or to implement a file system filter ? If we'll
I suggest you start by simply echo "1" >/proc/sys/vm/block_dump
and turning off klogd
http://linux.inet.hr/proc_sys_vm_block_dump.html
If it is not enough, search the archive for a similar discussion
i had a year ago. There is a code in the kernel where the block_dump
is hooked thus, you can find
Michael Sternberg wrote:
>
> We have to write driver that intercept all I/O to disk and notifies
> user-mode application with following data: block length and device
> number. What is a proper way to implement it: to write a block driver
> above disk layer or to implement a file system filter ? If
We have to write driver that intercept all I/O to disk and notifies
user-mode application with following data: block length and device number.
What is a proper way to implement it: to write a block driver above disk
layer or to implement a file system filter ? If we'll implement a file
system