[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AOcAowBKDxRdEVGR5gjSrqq6.3.1628908911313.Hmail.frank.li@vivo.com>
Date: Sat, 14 Aug 2021 10:41:51 +0800 (GMT+08:00)
From: 李扬韬 <frank.li@...o.com>
To: Chao Yu <chao@...nel.org>
Cc: jaegeuk@...nel.org, linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re:Re: [PATCH] f2fs: convert /sys/fs/f2fs/<disk>/stat/sb_status to use string
>> HI Chao,
>>
>> From: Chao Yu <chao@...nel.org>
>> Date: 2021-08-13 22:09:53
>> To: Yangtao Li <frank.li@...o.com>,jaegeuk@...nel.org
>> Cc: linux-f2fs-devel@...ts.sourceforge.net,linux-kernel@...r.kernel.org
>> Subject: Re: [PATCH] f2fs: convert /sys/fs/f2fs/<disk>/stat/sb_status to use string>On 2021/8/13 22:01, Yangtao Li wrote:
>>>> Do not use numbers but strings to improve readability when flag is set.
>>>
>>> This breaks output rule of sysfs entry, see below link:
>>>
>> Which rule? one entry should show one value?
>
>Yes, one value per file please, which is suggested by Greg.
>
>https://lkml.org/lkml/2021/6/3/319
>
>>
>> But I see that:
>> # cat /sys/fs/f2fs/<disk>/features
>> encryption, quota_ino, verity, pin_file
>>
>> So the format of features also wrong?
>
> What: /sys/fs/f2fs/<disk>/features
> Date: July 2017
> Contact: "Jaegeuk Kim" <jaegeuk@...nel.org>
> Description: <deprecated: should use /sys/fs/f2fs/<disk>/feature_list/
root@...-xfstests:~# cat /sys/fs/f2fs/nvme0n1/extension_list
cold file extension:
jpg
gif
png
avi
divx
mp4
mp3
3gp
wmv
wma
mpeg
mkv
mov
asx
asf
wmx
svi
wvx
wm
mpg
mpe
rm
ogg
jpeg
video
apk
so
hot file extension:
db
So we need remove extension_list to proc fs?
MBR,
Yangtao
Powered by blists - more mailing lists