How to filter the Block I/O in 2.6 kernel?

From: XiongJia Le
Date: Wed May 21 2008 - 00:06:17 EST


How to filter the Block I/O in 2.6 kernel?

I have looked some in blktrace.
blktrace can trace the block device I/O info. But that can't
filter/change this I/O.

Is the Linux kernel have any way to filter/change a block i/o before
it write to hard disk?
I don't want to change kernel code and re-build. Is Kernel already
have any I/O filter interface?

Thanks,
Xiongjia Le
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/