writeback: trace event writeback_queue_io
authorWu Fengguang <fengguang.wu@intel.com>
Sat, 23 Apr 2011 18:27:27 +0000 (12:27 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Wed, 8 Jun 2011 00:25:23 +0000 (08:25 +0800)
commite84d0a4f8e39a73003a6ec9a11b07702745f4c1f
tree2319765d78502d13101ac50bafb0ba5577133092
parent251d6a471c831e22880b3c146bb4556ddfb1dc82
writeback: trace event writeback_queue_io

Note that it adds a little overheads to account the moved/enqueued
inodes from b_dirty to b_io. The "moved" accounting may be later used to
limit the number of inodes that can be moved in one shot, in order to
keep spinlock hold time under control.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
fs/fs-writeback.c
include/trace/events/writeback.h