• David Howells's avatar
    afs: Add stats for data transfer operations · 76a5cb6f
    David Howells authored
    Add statistics to /proc/fs/afs/stats for data transfer RPC operations.  New
    lines are added that look like:
    
    	file-rd : n=55794 nb=10252282150
    	file-wr : n=9789 nb=3247763645
    
    where n= indicates the number of ops completed and nb= indicates the number
    of bytes successfully transferred.  file-rd is the counts for read/fetch
    operations and file-wr the counts for write/store operations.
    
    Note that directory and symlink downloading are included in the file-rd
    stats at the moment.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    76a5cb6f
write.c 20.1 KB