* [PATCH] ext4: Add a missing trace hook
@ 2010-05-24 8:25 Li Zefan
2010-05-25 14:09 ` tytso
0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2010-05-24 8:25 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: LKML, linux-ext4
Commit f8ec9d6837241865cf99bed97bb99f4399fd5a03 added a
trace event ext4_da_release_space, but didn't add some
corresponding trace hook.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/ext4/inode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 81d6054..b71f883 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1910,6 +1910,7 @@ static void ext4_da_release_space(struct inode *inode, int to_free)
spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
+ trace_ext4_da_release_space(inode, to_free);
if (unlikely(to_free > ei->i_reserved_data_blocks)) {
/*
* if there aren't enough reserved blocks, then the
--
1.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ext4: Add a missing trace hook
2010-05-24 8:25 [PATCH] ext4: Add a missing trace hook Li Zefan
@ 2010-05-25 14:09 ` tytso
0 siblings, 0 replies; 2+ messages in thread
From: tytso @ 2010-05-25 14:09 UTC (permalink / raw)
To: Li Zefan; +Cc: LKML, linux-ext4
On Mon, May 24, 2010 at 04:25:32PM +0800, Li Zefan wrote:
> Commit f8ec9d6837241865cf99bed97bb99f4399fd5a03 added a
> trace event ext4_da_release_space, but didn't add some
> corresponding trace hook.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Thanks for pointing this out, added to the ext4 tree.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-25 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 8:25 [PATCH] ext4: Add a missing trace hook Li Zefan
2010-05-25 14:09 ` tytso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).