Thread (25 messages) 25 messages, 8 authors, 2020-06-04

Re: [PATCH v3 0/7] Statsfs: a new ram-based file system for Linux kernel statistics

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2020-05-27 15:00:55
Also in: kvm, linux-arm-kernel, linux-doc, linux-fsdevel, linux-mips, linux-s390, lkml, netdev

On 27/05/20 15:33, Andrew Lunn wrote:
quoted
I don't really know a lot about the networking subsystem, and as it was
pointed out in another email on patch 7 by Andrew, networking needs to
atomically gather and display statistics in order to make them consistent,
and currently this is not supported by stats_fs but could be added in
future.
Do you have any idea how you will support atomic access? It does not
seem easy to implement in a filesystem based model.
Hi Andrew,

there are plans to support binary access.  Emanuele and I don't really
have a plan for how to implement it, but there are developers from
Google that have ideas (because Google has a similar "metricfs" thing
in-house).

I think atomic access would use some kind of "source_ops" struct
containing create_snapshot and release_snapshot function pointers.

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help