On 2021/9/16 20:55, Fengnan Chang wrote:
separate buffer and direct io in block allocation statistics.
New output will like this:
buffer direct segments
IPU:0 0N/A
SSR:0 0 0
LFS:0 0 0
Sign
On 2021/9/16 20:55, Fengnan Chang wrote:
For now, overwrite file with direct io use inplace policy, but
not counted, fix it. And use stat_add_inplace_blocks(sbi, 1, )
instead of stat_inc_inplace_blocks(sb, ).
Signed-off-by: Fengnan Chang
Reviewed-by: Chao Yu
Thanks,
__
separate buffer and direct io in block allocation statistics.
New output will like this:
buffer direct segments
IPU:0 0N/A
SSR:0 0 0
LFS:0 0 0
Signed-off-by: Fengnan Chang
Reviewed-by: Chao
For now, overwrite file with direct io use inplace policy, but
not counted, fix it. And use stat_add_inplace_blocks(sbi, 1, )
instead of stat_inc_inplace_blocks(sb, ).
Signed-off-by: Fengnan Chang
---
fs/f2fs/data.c| 7 ++-
fs/f2fs/f2fs.h| 8
fs/f2fs/segment.c | 2 +-
3 file
> -Original Message-
> From: changfeng...@vivo.com On Behalf Of
> Chao Yu
> Sent: Thursday, September 16, 2021 8:10 PM
> To: 常凤楠 ; jaeg...@kernel.org
> Cc: linux-f2fs-devel@lists.sourceforge.net
> Subject: Re: [PATCH v2 2/2] f2fs: fix missing inplace count in overwrite with
> direct io
>
On 2021/9/16 19:30, Fengnan Chang wrote:
For now, overwrite file with direct io use inplace policy, but
not counted, fix it. And use stat_add_inplace_blocks(sbi, 1, )
instead of stat_inc_inplace_blocks(sb, ).
Signed-off-by: Fengnan Chang
---
fs/f2fs/data.c| 7 ++-
fs/f2fs/f2fs.h|
For now, overwrite file with direct io use inplace policy, but
not counted, fix it. And use stat_add_inplace_blocks(sbi, 1, )
instead of stat_inc_inplace_blocks(sb, ).
Signed-off-by: Fengnan Chang
---
fs/f2fs/data.c| 7 ++-
fs/f2fs/f2fs.h| 8
fs/f2fs/segment.c | 2 +-
3 file
separate buffer and direct io in block allocation statistics.
New output will like this:
buffer direct segments
IPU:0 0N/A
SSR:0 0 0
LFS:0 0 0
Signed-off-by: Fengnan Chang
Reviewed-by: Chao
On 2021/9/11 6:56, Jaegeuk Kim wrote:
This patch fixes the below stale magic info.
$ mkfs.btrfs -f test.img
btrfs-progs v5.10.1
See http://btrfs.wiki.kernel.org for more information.
Label: (null)
UUID: 941d2db7-3ece-4090-8b22-c4ea548b5dae
Node size: 16384
Se
On 2021/9/12 9:50, Fengnan Chang wrote:
From: Fengnan Chang
For now, overwrite file with direct io use inplace policy, but
not counted, fix it.
Signed-off-by: Fengnan Chang
---
fs/f2fs/data.c | 7 ++-
fs/f2fs/f2fs.h | 7 +++
2 files changed, 13 insertions(+), 1 deletion(-)
diff -
On 2021/9/12 9:50, Fengnan Chang wrote:
From: Fengnan Chang
separate buffer and direct io in block allocation statistics.
New output will like this:
buffer direct segments
IPU:0 0N/A
SSR:0 0 0
LFS:0
This patch enables f2fs_balance_fs_bg() to check all metadatas' dirty
threshold rather than just checking node block's, so that checkpoint()
from background can be triggered more frequently to avoid heaping up
too much dirty metadatas.
Threshold value by default:
race with foreground opssi
12 matches
Mail list logo