f2fs: introduce struct flush_cmd_control to wrap the flush_merge fields
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Sun, 27 Apr 2014 06:21:21 +0000 (14:21 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:56 +0000 (10:21 +0900)
commita688b9d9e5cbec76edab74e724297b5488c07829
tree3f9f4542c5c13648c7d96721c0cd65a0e9e8ead7
parent6403eb1f646a49cc92f25c08f8716f8870a4a865
f2fs: introduce struct flush_cmd_control to wrap the flush_merge fields

Split the flush_merge fields from sm_i, and use the new struct flush_cmd_control
to wrap it, so that we can igonre these fileds if flush_merge is disable, and
it alse can the structs more neat.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/super.c