]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 28 Apr 2014 04:11:55 +0000 (13:11 +0900)
commit8a806f9fc972ff6cf6e0dcbe4af637aa871c729e
treea4f91a553fafeb8e1f6aa6746b6fcc7827dc6779
parent1e8ecdc22139ca85bc726198b675490a228a7bf5
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