diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-07 14:07:36 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-09 17:02:28 -0800 |
commit | c05086506f2204bcf02c9d3eb7950cdf0d8a3bef (patch) | |
tree | 497cac2c9e686e280d83e499cf4577c634f8eabe /fs/f2fs/trace.h | |
parent | dd4e4b59b1a4a7e69083e7dc2abbedb5186fd850 (diff) | |
download | linux-c05086506f2204bcf02c9d3eb7950cdf0d8a3bef.tar.bz2 |
f2fs: add spin_lock to cover radix operations in IO tracer
This patch adds spin_lock to cover radix tree operations in IO tracer.
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 aa6663be528c..eb39fa08cd45 100644 --- a/fs/f2fs/trace.h +++ b/fs/f2fs/trace.h @@ -34,9 +34,11 @@ 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); #else #define f2fs_trace_pid(p) #define f2fs_trace_ios(p, i, n) +#define f2fs_build_trace_ios() #endif #endif /* __F2FS_TRACE_H__ */ |