[Devel] [PATCH vz9] fs/fuse kio: implement rpc errors collection

Alexey Kuznetsov kuznet at acronis.com
Mon Jul 24 15:35:41 MSK 2023


Got user space pullreq.

One idea. You add _one_ struct metric to kmetrics struct
with one additonal flag "more". Read from it fetches head of list of errors
and drops it. So, when reading metrics users space doing one
read gets the first element and indication that there are more.
If there are more we read at this offset until more cleared
or until we are tired.

Far from perfect, yet it is simple and efficient.



More information about the Devel mailing list