diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 00:01:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 00:01:44 -0500 |
commit | f9a03ae123c92c1f45cd2ca88d0f6edd787be78c (patch) | |
tree | c15c8b9b5732eb36b591bf570de63f3c30d252e1 /include/trace | |
parent | 1289ace5b4f70f1e68ce785735b82c7e483de863 (diff) | |
parent | 447135a86659c646017b8e707c1243c186bf2dff (diff) |
Merge tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim:
"This series adds two ioctls to control cached data and fragmented
files. Most of the rest fixes missing error cases and bugs that we
have not covered so far. Summary:
Enhancements:
- support an ioctl to execute online file defragmentation
- support an ioctl to flush cached data
- speed up shrinking of extent_cache entries
- handle broken superblock
- refector dirty inode management infra
- revisit f2fs_map_blocks to handle more cases
- reduce global lock coverage
- add detecting user's idle time
Major bug fixes:
- fix data race condition on cached nat entries
- fix error cases of volatile and atomic writes"
* tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (87 commits)
f2fs: should unset atomic flag after successful commit
f2fs: fix wrong memory condition check
f2fs: monitor the number of background checkpoint
f2fs: detect idle time depending on user behavior
f2fs: introduce time and interval facility
f2fs: skip releasing nodes in chindless extent tree
f2fs: use atomic type for node count in extent tree
f2fs: recognize encrypted data in f2fs_fiemap
f2fs: clean up f2fs_balance_fs
f2fs: remove redundant calls
f2fs: avoid unnecessary f2fs_balance_fs calls
f2fs: check the page status filled from disk
f2fs: introduce __get_node_page to reuse common code
f2fs: check node id earily when readaheading node page
f2fs: read isize while holding i_mutex in fiemap
Revert "f2fs: check the node block address of newly allocated nid"
f2fs: cover more area with nat_tree_lock
f2fs: introduce max_file_blocks in sbi
f2fs crypto: check CONFIG_F2FS_FS_XATTR for encrypted symlink
f2fs: introduce zombie list for fast shrinking extent trees
...
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/f2fs.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h index 00b4a6308249..a1b488809f06 100644 --- a/include/trace/events/f2fs.h +++ b/include/trace/events/f2fs.h | |||
@@ -1265,6 +1265,44 @@ TRACE_EVENT(f2fs_destroy_extent_tree, | |||
1265 | __entry->node_cnt) | 1265 | __entry->node_cnt) |
1266 | ); | 1266 | ); |
1267 | 1267 | ||
1268 | DECLARE_EVENT_CLASS(f2fs_sync_dirty_inodes, | ||
1269 | |||
1270 | TP_PROTO(struct super_block *sb, int type, int count), | ||
1271 | |||
1272 | TP_ARGS(sb, type, count), | ||
1273 | |||
1274 | TP_STRUCT__entry( | ||
1275 | __field(dev_t, dev) | ||
1276 | __field(int, type) | ||
1277 | __field(int, count) | ||
1278 | ), | ||
1279 | |||
1280 | TP_fast_assign( | ||
1281 | __entry->dev = sb->s_dev; | ||
1282 | __entry->type = type; | ||
1283 | __entry->count = count; | ||
1284 | ), | ||
1285 | |||
1286 | TP_printk("dev = (%d,%d), %s, dirty count = %d", | ||
1287 | show_dev(__entry), | ||
1288 | show_file_type(__entry->type), | ||
1289 | __entry->count) | ||
1290 | ); | ||
1291 | |||
1292 | DEFINE_EVENT(f2fs_sync_dirty_inodes, f2fs_sync_dirty_inodes_enter, | ||
1293 | |||
1294 | TP_PROTO(struct super_block *sb, int type, int count), | ||
1295 | |||
1296 | TP_ARGS(sb, type, count) | ||
1297 | ); | ||
1298 | |||
1299 | DEFINE_EVENT(f2fs_sync_dirty_inodes, f2fs_sync_dirty_inodes_exit, | ||
1300 | |||
1301 | TP_PROTO(struct super_block *sb, int type, int count), | ||
1302 | |||
1303 | TP_ARGS(sb, type, count) | ||
1304 | ); | ||
1305 | |||
1268 | #endif /* _TRACE_F2FS_H */ | 1306 | #endif /* _TRACE_F2FS_H */ |
1269 | 1307 | ||
1270 | /* This part must be outside protection */ | 1308 | /* This part must be outside protection */ |