On 3/20/25 09:16, Zhiguo Niu wrote:
> Chao Yu via Linux-f2fs-devel
> 于2025年3月19日周三 23:38写道:
>>
>> This patch adds a proc entry named inject_stats to show total injected
>> count for each fault type.
>>
>> cat /proc/fs/f2fs//inject_stats
>> fault_type injected_count
>> kmalloc
Chao Yu via Linux-f2fs-devel
于2025年3月19日周三 23:38写道:
>
> This patch adds a proc entry named inject_stats to show total injected
> count for each fault type.
>
> cat /proc/fs/f2fs//inject_stats
> fault_type injected_count
> kmalloc 0
> kvmalloc0
> page al
On Wed, Mar 19, 2025 at 11:30:10AM +, Colin Ian King wrote:
> The variable err is being assigned a value zero and then the following
> goto page_hit reassigns err a new value. The zero assignment is redundant
> and can be removed.
>
> Signed-off-by: Colin Ian King
> ---
> fs/f2fs/node.c | 1
When we update inject type via sysfs, it shows wrong rate value as
below, there is a same problem when we update inject rate, fix it.
Before:
F2FS-fs (vdd): build fault injection attr: rate: 0, type: 0x
F2FS-fs (vdd): build fault injection attr: rate: 1, type: 0x0
After:
F2FS-fs (vdd): build
This patch adds a proc entry named inject_stats to show total injected
count for each fault type.
cat /proc/fs/f2fs//inject_stats
fault_type injected_count
kmalloc 0
kvmalloc0
page alloc 0
page get0
alloc bio(obsolete) 0
On 3/19/25 19:30, Colin Ian King wrote:
> The variable err is being assigned a value zero and then the following
> goto page_hit reassigns err a new value. The zero assignment is redundant
> and can be removed.
>
> Signed-off-by: Colin Ian King
Reviewed-by: Chao Yu
Thanks,
__
Hi,
Dropshipping our mattresses is a solution that is now gaining a lot of
popularity – simple sales without the need to invest in warehousing, logistics,
or shipping.
You sell, and we take care of the rest. What's more, we don't leave you on your
own – we help with sales and marketing so that
The variable err is being assigned a value zero and then the following
goto page_hit reassigns err a new value. The zero assignment is redundant
and can be removed.
Signed-off-by: Colin Ian King
---
fs/f2fs/node.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c