diff options
author | Scott Urban <scott.urban@isilon.com> | 2009-03-27 17:33:26 -0700 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-03-27 17:33:26 -0700 |
commit | ee22c417f3ae156522151815605300c703eeb664 (patch) | |
tree | b80303f5642d5a2bd0f32bb9a878fc3b7f98916a /source3/include | |
parent | 21ad907aa01d839d405b10809517d491b72184da (diff) | |
download | samba-ee22c417f3ae156522151815605300c703eeb664.tar.gz samba-ee22c417f3ae156522151815605300c703eeb664.tar.bz2 samba-ee22c417f3ae156522151815605300c703eeb664.zip |
s3: added per-client statistics to onefs perfcount module
* we now track, uid, remote ip, and local ip per CIFS operation
* removed perfcount_set_client() from perfcount interface as it's
unecessary
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_perfcount.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/smb_perfcount.h b/source3/include/smb_perfcount.h index 01a539d508..9c83147d04 100644 --- a/source3/include/smb_perfcount.h +++ b/source3/include/smb_perfcount.h @@ -37,8 +37,6 @@ struct smb_perfcount_handlers { uint64_t in_bytes); void (*perfcount_set_msglen_out) (struct smb_perfcount_data *pcd, uint64_t out_bytes); - void (*perfcount_set_client) (struct smb_perfcount_data *pcd, uid_t uid, - const char *user, const char *domain); void (*perfcount_copy_context) (struct smb_perfcount_data *pcd, struct smb_perfcount_data *new_pcd); void (*perfcount_defer_op) (struct smb_perfcount_data *pcd, @@ -88,12 +86,6 @@ void smb_init_perfcount_data(struct smb_perfcount_data *pcd); (_pcd_)->handlers->perfcount_set_msglen_out((_pcd_), (_out_));\ } while (0) -#define SMB_PERFCOUNT_SET_CLIENT(_pcd_,_uid_, _user_, _domain_) \ - do {if((_pcd_) && (_pcd_)->handlers) \ - (_pcd_)->handlers->perfcount_set_client((_pcd_), (_uid_), \ - (_user_), (_domain_)); \ - } while (0) - #define SMB_PERFCOUNT_COPY_CONTEXT(_pcd_, _new_pcd_) \ do {if((_pcd_) && (_pcd_)->handlers) \ (_pcd_)->handlers->perfcount_copy_context((_pcd_), (_new_pcd_)); \ |