projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xfs: per-filesystem stats counter implementation
[deliverable/linux.git]
/
fs
/
xfs
/
xfs_trans_ail.c
diff --git
a/fs/xfs/xfs_trans_ail.c
b/fs/xfs/xfs_trans_ail.c
index 1098cf4901892830184c0a3f2306210be1930f9f..4f18fd92ca13b21d8fd68e955e082d9db9a61195 100644
(file)
--- a/
fs/xfs/xfs_trans_ail.c
+++ b/
fs/xfs/xfs_trans_ail.c
@@
-349,7
+349,7
@@
xfsaild_push(
xfs_ail_min_lsn(ailp))) {
ailp->xa_log_flush = 0;
xfs_ail_min_lsn(ailp))) {
ailp->xa_log_flush = 0;
- XFS_STATS_INC(xs_push_ail_flush);
+ XFS_STATS_INC(
mp,
xs_push_ail_flush);
xfs_log_force(mp, XFS_LOG_SYNC);
}
xfs_log_force(mp, XFS_LOG_SYNC);
}
@@
-371,7
+371,7
@@
xfsaild_push(
goto out_done;
}
goto out_done;
}
- XFS_STATS_INC(xs_push_ail);
+ XFS_STATS_INC(
mp,
xs_push_ail);
lsn = lip->li_lsn;
while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) {
lsn = lip->li_lsn;
while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) {
@@
-385,7
+385,7
@@
xfsaild_push(
lock_result = lip->li_ops->iop_push(lip, &ailp->xa_buf_list);
switch (lock_result) {
case XFS_ITEM_SUCCESS:
lock_result = lip->li_ops->iop_push(lip, &ailp->xa_buf_list);
switch (lock_result) {
case XFS_ITEM_SUCCESS:
- XFS_STATS_INC(xs_push_ail_success);
+ XFS_STATS_INC(
mp,
xs_push_ail_success);
trace_xfs_ail_push(lip);
ailp->xa_last_pushed_lsn = lsn;
trace_xfs_ail_push(lip);
ailp->xa_last_pushed_lsn = lsn;
@@
-403,7
+403,7
@@
xfsaild_push(
* re-try the flushing relatively soon if most of the
* AIL is beeing flushed.
*/
* re-try the flushing relatively soon if most of the
* AIL is beeing flushed.
*/
- XFS_STATS_INC(xs_push_ail_flushing);
+ XFS_STATS_INC(
mp,
xs_push_ail_flushing);
trace_xfs_ail_flushing(lip);
flushing++;
trace_xfs_ail_flushing(lip);
flushing++;
@@
-411,14
+411,14
@@
xfsaild_push(
break;
case XFS_ITEM_PINNED:
break;
case XFS_ITEM_PINNED:
- XFS_STATS_INC(xs_push_ail_pinned);
+ XFS_STATS_INC(
mp,
xs_push_ail_pinned);
trace_xfs_ail_pinned(lip);
stuck++;
ailp->xa_log_flush++;
break;
case XFS_ITEM_LOCKED:
trace_xfs_ail_pinned(lip);
stuck++;
ailp->xa_log_flush++;
break;
case XFS_ITEM_LOCKED:
- XFS_STATS_INC(xs_push_ail_locked);
+ XFS_STATS_INC(
mp,
xs_push_ail_locked);
trace_xfs_ail_locked(lip);
stuck++;
trace_xfs_ail_locked(lip);
stuck++;
This page took
0.028536 seconds
and
5
git commands to generate.