Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
51e2cba8
Commit
51e2cba8
authored
15 years ago
by
Andy Grover
Browse files
Options
Downloads
Patches
Plain Diff
RDS: Move atomic stats from general to ib-specific area
Signed-off-by:
Andy Grover
<
andy.grover@oracle.com
>
parent
ab1a6926
Loading
Loading
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
net/rds/ib.h
+2
-0
2 additions, 0 deletions
net/rds/ib.h
net/rds/ib_send.c
+2
-2
2 additions, 2 deletions
net/rds/ib_send.c
net/rds/ib_stats.c
+2
-0
2 additions, 0 deletions
net/rds/ib_stats.c
net/rds/rds.h
+0
-2
0 additions, 2 deletions
net/rds/rds.h
net/rds/stats.c
+0
-2
0 additions, 2 deletions
net/rds/stats.c
with
6 additions
and
6 deletions
net/rds/ib.h
+
2
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
net/rds/ib_send.c
+
2
−
2
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
);
}
}
/*
/*
...
...
This diff is collapsed.
Click to expand it.
net/rds/ib_stats.c
+
2
−
0
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
,
...
...
This diff is collapsed.
Click to expand it.
net/rds/rds.h
+
0
−
2
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 */
...
...
This diff is collapsed.
Click to expand it.
net/rds/stats.c
+
0
−
2
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment