summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-08-01 08:56:12 +0300
committerSteve French <stfrench@microsoft.com>2018-08-07 22:20:22 +0300
commitc281bc0c7412308c7ec0888904f7c99353da4796 (patch)
tree2aab783b6b474782fcf76caef87e46fb068d785a /Documentation/filesystems
parent52ce1ac4298309d76859307967c58835c0b2ce3e (diff)
downloadlinux-c281bc0c7412308c7ec0888904f7c99353da4796.tar.xz
smb3: fix reset of bytes read and written stats
echo 0 > /proc/fs/cifs/Stats is supposed to reset the stats but there were four (see example below) that were not reset (bytes read and witten, total vfs ops and max ops at one time). ... 0 session 0 share reconnects Total vfs operations: 100 maximum at one time: 2 1) \\localhost\test SMBs: 0 Bytes read: 502092 Bytes written: 31457286 TreeConnects: 0 total 0 failed TreeDisconnects: 0 total 0 failed ... This patch fixes cifs_stats_proc_write to properly reset those four. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions