[f2fs-dev] [SPAM] Re:Cleanroom Wipes,Sontara Wipes,Wypall Wipers

2014-04-11 Thread WIPEX NONWOVEN
Dear Sir, How are you doing? Need Cleanroom Wipes,Sontara Wipes,Polycellulose Wipers?We are a professional factory of Disposable Wipers in China who has wipers which can replace Kimberly Clark's Wypall ,Dupont's Sontara.They are very popular in your market.If you would like to know more about

[f2fs-dev] [PATCH 1/7] f2fs: put the bio when issue_flush completed

2014-04-11 Thread Gu Zheng
Put the bio when the flush cmd issued, it also can fix the following kmemleak: unreferenced object 0x8800270c73c0 (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 @...

[f2fs-dev] [PATCH 0/7] f2fs: some fix and cleanup about flush_merge

2014-04-11 Thread Gu Zheng
Gu Zheng (7): f2fs: put the bio when issue_flush completed f2fs: remove the unuseful "issue_tail" list f2fs: use __GFP_ZERO to avoid appending set-NULL f2fs: enable flush_merge only in f2fs is not read-only f2fs: add the flush_merge handle in the remount flow f2fs: introduce struct flus

[f2fs-dev] [PATCH 2/7] f2fs: remove the unuseful "issue_tail" list

2014-04-11 Thread Gu Zheng
With the issue_list and dispatch_list, we can handle flush_merge already, so remove the useless "issue_tail" list. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|1 - fs/f2fs/segment.c |5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.

[f2fs-dev] [PATCH 5/7] f2fs: add the flush_merge handle in the remount flow

2014-04-11 Thread Gu Zheng
Add the *remount* handle of flush_merge option, so that the users can enable flush_merge in the runtime, such as the underlying device handles the cache_flush command relatively slowly. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|1 + fs/f2fs/segment.c |2 +- fs/f2fs/super.c | 45

[f2fs-dev] [PATCH 4/7] f2fs: enable flush_merge only in f2fs is not read-only

2014-04-11 Thread Gu Zheng
Enable flush_merge only in f2fs is not read-only, so does the mount option show. Signed-off-by: Gu Zheng --- fs/f2fs/segment.c |3 +-- fs/f2fs/super.c |4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index ff8f987..6672570 10

[f2fs-dev] [PATCH 6/7] f2fs: introduce struct flush_cmd_control to wrap the, flush_merge fields

2014-04-11 Thread Gu Zheng
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 --- fs/f2fs/f2fs.h| 14 +++ fs/f2fs/segment.c | 68 +++

[f2fs-dev] [PATCH 7/7] f2fs: introduce help function {create, destroy}_flush_cmd_control

2014-04-11 Thread Gu Zheng
Introduce help function {create,destroy}_flush_cmd_control to clean up the create/destory flush merge operation. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|3 +- fs/f2fs/segment.c | 55 fs/f2fs/super.c | 29 ++

[f2fs-dev] [PATCH 3/7] f2fs: use __GFP_ZERO to avoid appending set-NULL

2014-04-11 Thread Gu Zheng
Signed-off-by: Gu Zheng --- fs/f2fs/segment.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 8a6fe2a..ff8f987 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -243,9 +243,7 @@ int f2fs_issue_flush(struct f2fs_sb_inf