Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
change log v3 -> v4:
- allow 0 and 100 to a valid value
Documentation/ABI/testing/sysfs-fs-f2fs | 5 +
fs/f2fs/extent_cache.c | 15 +--
fs/f2fs/f2fs.h | 1 +
fs/f2fs/sysf
Currently we wrongly calculate the new block age to
old * LAST_AGE_WEIGHT / 100.
Fix it to new * (100 - LAST_AGE_WEIGHT) / 100
+ old * LAST_AGE_WEIGHT / 100.
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
Change log v1 -> v2:
- fix udiv
Change log v2 -> v3:
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
Documentation/ABI/testing/sysfs-fs-f2fs | 5 +
fs/f2fs/extent_cache.c | 15 +--
fs/f2fs/f2fs.h | 1 +
fs/f2fs/sysfs.c | 11 +++
4 files changed, 26
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
Documentation/ABI/testing/sysfs-fs-f2fs | 5 +
fs/f2fs/extent_cache.c | 12 +++-
fs/f2fs/f2fs.h | 1 +
fs/f2fs/sysfs.c | 11 +++
4 files changed, 24
Currently we wrongly calculate the new block age to
old * LAST_AGE_WEIGHT / 100.
Fix it to new * (100 - LAST_AGE_WEIGHT) / 100
+ old * LAST_AGE_WEIGHT / 100.
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
Change log v1 -> v2:
- fix udiv
fs/f2fs/extent_cache.c
Signed-off-by: qixiaoyu1
---
Documentation/ABI/testing/sysfs-fs-f2fs | 5 +
fs/f2fs/extent_cache.c | 11 +++
fs/f2fs/f2fs.h | 1 +
fs/f2fs/sysfs.c | 11 +++
4 files changed, 24 insertions(+), 4 deletions
Currently we wrongly calculate the new block age to
old * LAST_AGE_WEIGHT / 100.
Fix it to new * (100 - LAST_AGE_WEIGHT) / 100
+ old * LAST_AGE_WEIGHT / 100.
Signed-off-by: qixiaoyu1
---
fs/f2fs/extent_cache.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
Documentation/ABI/testing/sysfs-fs-f2fs | 14
fs/f2fs/block_age.c | 29 +
fs/f2fs/f2fs.h | 4
fs/f2fs/segment.c | 9
fs
From: xiongping1
Signed-off-by: xiongping1
Signed-off-by: qixiaoyu1
---
fs/f2fs/block_age.c | 590 +++-
fs/f2fs/debug.c | 13 +
fs/f2fs/f2fs.h | 64 +++-
fs/f2fs/file.c | 10 +
fs/f2fs/inode.c | 8
Signed-off-by: qixiaoyu1
Signed-off-by: xiongping1
---
fs/f2fs/block_age.c | 89 -
fs/f2fs/f2fs.h | 1 +
fs/f2fs/segment.c | 4 ++
3 files changed, 92 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/block_age.c b/fs/f2fs/block_age.c
index
From: xiongping1
enable data block seperation feature only when
age_extent_cache mount option is on
Signed-off-by: xiongping1
Signed-off-by: qixiaoyu1
---
Documentation/filesystems/f2fs.rst | 4
fs/f2fs/block_age.c| 3 +++
fs/f2fs/f2fs.h | 1 +
fs
ed for .db files, and buffered write will be used
for other files
The storage of test device is large enough(128G) so that it will not
switch to SSR mode during the test.
Benefit: dirty segment count increment reduce about 14%
- before: Dirty +21110
- after: Dirty +18286
qixiaoyu1 (2):
f2fs: up
From: xiongping1
Signed-off-by: xiongping1
Signed-off-by: qixiaoyu1
---
fs/f2fs/Kconfig | 7 +++
fs/f2fs/Makefile| 1 +
fs/f2fs/block_age.c | 28
fs/f2fs/debug.c | 7 +++
fs/f2fs/f2fs.h | 15 +++
fs/f2fs/segment.c | 4
Currently IPU policy for fdatasync is coupled with F2FS_IPU_FSYNC.
Fix to apply it to all IPU policy.
Signed-off-by: qixiaoyu1
---
fs/f2fs/data.c | 8 +++-
fs/f2fs/file.c | 4 +++-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index
f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free
secs after write checkpoint, but with gc_merge enabled, it will cause
the sleep time of gc thread to be set to no_gc_sleep_time even if there
are many dirty segments can be selected.
Signed-off-by: qixiaoyu1
---
fs/f2fs/gc.c
f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free
secs after write checkpoint, but with gc_merge enabled, it will cause
the sleep time of gc thread to be set to no_gc_sleep_time even if there
are many dirty segments can be selected.
Signed-off-by: qixiaoyu1
---
fs/f2fs/gc.c
Signed-off-by: qixiaoyu1
---
man/resize.f2fs.8 | 18 ++
1 file changed, 18 insertions(+)
diff --git a/man/resize.f2fs.8 b/man/resize.f2fs.8
index a4b6cd7..3288760 100644
--- a/man/resize.f2fs.8
+++ b/man/resize.f2fs.8
@@ -17,6 +17,15 @@ resize.f2fs \- resize filesystem size
.B
-by: liuchao12
Signed-off-by: qixiaoyu1
---
Change log from v2:
- Sorry for miss liuchao12 mistakenly when merge the two patches...
Change log from v1:
- merged fix to check free space before grow
- delete unessassary check of "c.new_overprovision == 0"
- update man p
-by: qixiaoyu1
---
Change log form v1:
- merged fix to check free space before grow
- delete unessassary check of "c.new_overprovision == 0"
- update man page
fsck/main.c | 8 ++--
fsck/resize.c | 45 -
man/resize.f
From: liuchao12
Make.f2fs supports manually specifying overprovision, and we expect
resize.f2fs to support it as well.
This change add a new '-o' option to manually specify overprovision.
Signed-off-by: liuchao12
---
fsck/main.c | 8 ++--
fsck/resize.c | 12 ++--
2 files
mount(2) system call failed: Structure needs cleaning.
Signed-off-by: qixiaoyu1
---
fsck/resize.c | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/fsck/resize.c b/fsck/resize.c
index d19c6fa..e135b66 100644
--- a/fsck/resize.c
+++ b/fsck
21 matches
Mail list logo