f2fs: avoid to use slab memory in f2fs_issue_flush for efficiency
authorChao Yu <chao2.yu@samsung.com>
Thu, 8 May 2014 09:00:35 +0000 (17:00 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 8 May 2014 09:23:21 +0000 (18:23 +0900)
commitadf8d90b6a949dc80e827263fccb31f8eb08a55d
treea7bc2e33fdd4ad08981c35b04ec94c0ee57093a8
parentc20e89cde669799eff62bf8c00ca9a4819c4e11f
f2fs: avoid to use slab memory in f2fs_issue_flush for efficiency

If we use slab memory in f2fs_issue_flush(), we will face memory pressure and
latency time caused by racing of kmem_cache_{alloc,free}.

Let's alloc memory in stack instead of slab.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c