From mboxrd@z Thu Jan 1 00:00:00 1970 From: "XiongJia Le" Subject: How to filter the Block I/O in 2.6 kernel? Date: Wed, 21 May 2008 12:05:30 +0800 Message-ID: <6f4bf7350805202105g2594d85dt1ae3b650e3e3671@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from fg-out-1718.google.com ([72.14.220.155]:47481 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbYEUEFe (ORCPT ); Wed, 21 May 2008 00:05:34 -0400 Received: by fg-out-1718.google.com with SMTP id 19so2186620fgg.17 for ; Tue, 20 May 2008 21:05:31 -0700 (PDT) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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