lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC PATCH] getting misc stats/attributes via xattr API
    From
    Hi Miklos and anyone interested in this proposal, is there any update on
    this? Sorry that I didn't find any..

    Thanks & Best regards,
    Abel

    On 5/3/22 8:23 PM, Miklos Szeredi wrote:
    > This is a simplification of the getvalues(2) prototype and moving it to the
    > getxattr(2) interface, as suggested by Dave.
    >
    > The patch itself just adds the possibility to retrieve a single line of
    > /proc/$$/mountinfo (which was the basic requirement from which the fsinfo
    > patchset grew out of).
    >
    > But this should be able to serve Amir's per-sb iostats, as well as a host of
    > other cases where some statistic needs to be retrieved from some object. Note:
    > a filesystem object often represents other kinds of objects (such as processes
    > in /proc) so this is not limited to fs attributes.
    >
    > This also opens up the interface to setting attributes via setxattr(2).
    >

    \
     
     \ /
      Last update: 2022-11-14 10:01    [W:2.285 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site