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
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 @...
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
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.
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
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
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 +++
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 ++
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