Thread (16 messages) 16 messages, 5 authors, 2021-06-10

Re: [PATCH] btrfs: sysfs: export dev stats in devinfo directory

From: David Sterba <hidden>
Date: 2021-06-04 14:23:49

On Fri, Jun 04, 2021 at 09:41:09PM +0800, Anand Jain wrote:
On 4/6/21 9:20 pm, David Sterba wrote:
quoted
The device stats can be read by ioctl, wrapped by command 'btrfs device
stats'. Provide another source where to read the information in
/sys/fs/btrfs/FSID/devinfo/DEVID/stats .
  The planned stat here is errors stat.
  So why not rename this to error_stats?
I think it's commonly called device stats, dev stats, so when it's in
'devinfo' it's like it's the 'stats' for the device. We don't have other
stats, like regarding io but in that case it would make sense to
distnguish the names.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help