Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
51e2cba8
Commit
51e2cba8
authored
Mar 29, 2010
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RDS: Move atomic stats from general to ib-specific area
Signed-off-by:
Andy Grover
<
andy.grover@oracle.com
>
parent
ab1a6926
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
net/rds/ib.h
net/rds/ib.h
+2
-0
net/rds/ib_send.c
net/rds/ib_send.c
+2
-2
net/rds/ib_stats.c
net/rds/ib_stats.c
+2
-0
net/rds/rds.h
net/rds/rds.h
+0
-2
net/rds/stats.c
net/rds/stats.c
+0
-2
No files found.
net/rds/ib.h
View file @
51e2cba8
...
@@ -202,6 +202,8 @@ struct rds_ib_statistics {
...
@@ -202,6 +202,8 @@ struct rds_ib_statistics {
uint64_t
s_ib_rdma_mr_pool_flush
;
uint64_t
s_ib_rdma_mr_pool_flush
;
uint64_t
s_ib_rdma_mr_pool_wait
;
uint64_t
s_ib_rdma_mr_pool_wait
;
uint64_t
s_ib_rdma_mr_pool_depleted
;
uint64_t
s_ib_rdma_mr_pool_depleted
;
uint64_t
s_ib_atomic_cswp
;
uint64_t
s_ib_atomic_fadd
;
};
};
extern
struct
workqueue_struct
*
rds_ib_wq
;
extern
struct
workqueue_struct
*
rds_ib_wq
;
...
...
net/rds/ib_send.c
View file @
51e2cba8
...
@@ -132,9 +132,9 @@ static void rds_ib_send_unmap_atomic(struct rds_ib_connection *ic,
...
@@ -132,9 +132,9 @@ static void rds_ib_send_unmap_atomic(struct rds_ib_connection *ic,
wc_status
,
rds_atomic_send_complete
);
wc_status
,
rds_atomic_send_complete
);
if
(
op
->
op_type
==
RDS_ATOMIC_TYPE_CSWP
)
if
(
op
->
op_type
==
RDS_ATOMIC_TYPE_CSWP
)
rds_
stats_inc
(
s
_atomic_cswp
);
rds_
ib_stats_inc
(
s_ib
_atomic_cswp
);
else
else
rds_
stats_inc
(
s
_atomic_fadd
);
rds_
ib_stats_inc
(
s_ib
_atomic_fadd
);
}
}
/*
/*
...
...
net/rds/ib_stats.c
View file @
51e2cba8
...
@@ -67,6 +67,8 @@ static const char *const rds_ib_stat_names[] = {
...
@@ -67,6 +67,8 @@ static const char *const rds_ib_stat_names[] = {
"ib_rdma_mr_pool_flush"
,
"ib_rdma_mr_pool_flush"
,
"ib_rdma_mr_pool_wait"
,
"ib_rdma_mr_pool_wait"
,
"ib_rdma_mr_pool_depleted"
,
"ib_rdma_mr_pool_depleted"
,
"ib_atomic_cswp"
,
"ib_atomic_fadd"
,
};
};
unsigned
int
rds_ib_stats_info_copy
(
struct
rds_info_iterator
*
iter
,
unsigned
int
rds_ib_stats_info_copy
(
struct
rds_info_iterator
*
iter
,
...
...
net/rds/rds.h
View file @
51e2cba8
...
@@ -566,8 +566,6 @@ struct rds_statistics {
...
@@ -566,8 +566,6 @@ struct rds_statistics {
uint64_t
s_cong_update_received
;
uint64_t
s_cong_update_received
;
uint64_t
s_cong_send_error
;
uint64_t
s_cong_send_error
;
uint64_t
s_cong_send_blocked
;
uint64_t
s_cong_send_blocked
;
uint64_t
s_atomic_cswp
;
uint64_t
s_atomic_fadd
;
};
};
/* af_rds.c */
/* af_rds.c */
...
...
net/rds/stats.c
View file @
51e2cba8
...
@@ -75,8 +75,6 @@ static const char *const rds_stat_names[] = {
...
@@ -75,8 +75,6 @@ static const char *const rds_stat_names[] = {
"cong_update_received"
,
"cong_update_received"
,
"cong_send_error"
,
"cong_send_error"
,
"cong_send_blocked"
,
"cong_send_blocked"
,
"s_atomic_cswp"
,
"s_atomic_fadd"
,
};
};
void
rds_stats_info_copy
(
struct
rds_info_iterator
*
iter
,
void
rds_stats_info_copy
(
struct
rds_info_iterator
*
iter
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment