linux/fs/f2fs
Gu Zheng a4ed23f2f1 f2fs: put the bio when issue_flush completed
Put the bio when the flush cmd issued, it also can fix the following
kmemleak:
unreferenced object 0xffff8800270c73c0 (size 200):
  comm "f2fs_flush-7:0", pid 27161, jiffies 4312127988 (age 988.503s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 40 07 81 19 01 88 ff ff  ........@.......
    01 00 00 00 00 00 00 f0 11 14 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff81559866>] kmemleak_alloc+0x72/0x96
    [<ffffffff81156f7e>] slab_post_alloc_hook+0x28/0x2a
    [<ffffffff811595b1>] kmem_cache_alloc+0xec/0x157
    [<ffffffff8111924d>] mempool_alloc_slab+0x15/0x17
    [<ffffffff81119513>] mempool_alloc+0x71/0x138
    [<ffffffff81193548>] bio_alloc_bioset+0x93/0x18c
    [<ffffffffa040f857>] issue_flush_thread+0x8d/0x145 [f2fs]
    [<ffffffff8107ac16>] kthread+0xba/0xc2
    [<ffffffff81571b2c>] ret_from_fork+0x7c/0xb0
    [<ffffffffffffffff>] 0xffffffffffffffff

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2014-05-07 10:21:53 +09:00
..
acl.c f2fs: check the acl's validity before setting 2014-04-07 12:18:30 +09:00
acl.h f2fs: use generic posix ACL infrastructure 2014-01-25 23:58:19 -05:00
checkpoint.c f2fs: use list_for_each_entry{_safe} for simplyfying code 2014-04-02 09:56:27 +09:00
data.c f2fs: fix error path when fail to read inline data 2014-04-02 09:56:27 +09:00
debug.c f2fs: remove unnecessary threshold 2014-03-20 22:10:09 +09:00
dir.c f2fs: introduce fi->i_sem to protect fi's info 2014-03-20 22:10:11 +09:00
f2fs.h f2fs: introduce f2fs_issue_flush to avoid redundant flush issue 2014-04-07 09:50:58 +09:00
file.c Merge branch 'akpm' (incoming from Andrew) 2014-04-07 16:38:06 -07:00
gc.c f2fs: remove the unused ctor argument of f2fs_kmem_cache_create() 2014-03-10 18:45:14 +09:00
gc.h f2fs: add a sysfs entry to control max_victim_search 2014-01-08 13:45:08 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inline.c f2fs: fix error path when fail to read inline data 2014-04-02 09:56:27 +09:00
inode.c f2fs updates for v3.15 2014-04-07 10:55:36 -07:00
Kconfig f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control 2013-10-29 15:43:01 +09:00
Makefile f2fs: key functions to handle inline data 2013-12-26 20:40:09 +09:00
namei.c f2fs: fix wrong statistics of inline data 2014-04-07 12:40:58 +09:00
node.c f2fs: use list_for_each_entry{_safe} for simplyfying code 2014-04-02 09:56:27 +09:00
node.h f2fs: skip unnecessary node writes during fsync 2014-03-20 22:10:11 +09:00
recovery.c f2fs: use list_for_each_entry{_safe} for simplyfying code 2014-04-02 09:56:27 +09:00
segment.c f2fs: put the bio when issue_flush completed 2014-05-07 10:21:53 +09:00
segment.h f2fs: change reclaim rate in percentage 2014-03-20 22:10:10 +09:00
super.c f2fs updates for v3.15 2014-04-07 10:55:36 -07:00
xattr.c f2fs: avoid unneeded lookup when xattr name length is too long 2014-04-01 18:54:24 +09:00
xattr.h f2fs: use generic posix ACL infrastructure 2014-01-25 23:58:19 -05:00