diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-07 23:09:48 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 02:02:28 +0100 |
commit | 351f4fba843db3303a92897b21a3d4dff4b6c717 (patch) | |
tree | c7f729d8f998e10a861a3e4bbf2aa200df012309 /fs/f2fs/trace.h | |
parent | f2fs: add spin_lock to cover radix operations in IO tracer (diff) | |
download | linux-351f4fba843db3303a92897b21a3d4dff4b6c717.tar.xz linux-351f4fba843db3303a92897b21a3d4dff4b6c717.zip |
f2fs: add f2fs_destroy_trace_ios to free radix tree
This patch removes radix tree after finishing tracing IOs.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/trace.h')
-rw-r--r-- | fs/f2fs/trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/trace.h b/fs/f2fs/trace.h index eb39fa08cd45..1041dbeb52ae 100644 --- a/fs/f2fs/trace.h +++ b/fs/f2fs/trace.h @@ -35,10 +35,12 @@ struct last_io_info { extern void f2fs_trace_pid(struct page *); extern void f2fs_trace_ios(struct page *, struct f2fs_io_info *, int); extern void f2fs_build_trace_ios(void); +extern void f2fs_destroy_trace_ios(void); #else #define f2fs_trace_pid(p) #define f2fs_trace_ios(p, i, n) #define f2fs_build_trace_ios() +#define f2fs_destroy_trace_ios() #endif #endif /* __F2FS_TRACE_H__ */ |