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)
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

Simple merge