summaryrefslogtreecommitdiffstats
path: root/xlators/debug
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-10-01 06:58:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-01 07:23:09 -0700
commitecf1ea918f206a23c2c74a792ee61f4c5ac799c2 (patch)
treed961d0fb5583bac4496536f51b7e5e4b7615ef47 /xlators/debug
parent2bc402003cd4526f74e4b543a717aafb52a8b9ed (diff)
io-stats: NFS-friendly logic changes
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/debug')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c28
1 files changed, 18 insertions, 10 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 44e037184..3c13bb080 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -83,7 +83,8 @@ io_stats_create_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, fd, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, fd, inode, buf,
+ preparent, postparent);
return 0;
}
@@ -213,7 +214,7 @@ io_stats_unlink_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno);
+ STACK_UNWIND (frame, op_ret, op_errno, preparent, postparent);
return 0;
}
@@ -229,7 +230,9 @@ io_stats_rename_cbk (call_frame_t *frame,
struct stat *prenewparent,
struct stat *postnewparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, buf,
+ preoldparent, postoldparent,
+ prenewparent, postnewparent);
return 0;
}
@@ -255,9 +258,10 @@ io_stats_lookup_cbk (call_frame_t *frame,
inode_t *inode,
struct stat *buf,
dict_t *xattr,
- struct stat *postmaster)
+ struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, inode, buf, xattr);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, buf, xattr,
+ postparent);
return 0;
}
@@ -272,7 +276,8 @@ io_stats_symlink_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, buf,
+ preparent, postparent);
return 0;
}
@@ -287,7 +292,8 @@ io_stats_mknod_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, buf,
+ preparent, postparent);
return 0;
}
@@ -303,7 +309,8 @@ io_stats_mkdir_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, buf,
+ preparent, postparent);
return 0;
}
@@ -318,7 +325,8 @@ io_stats_link_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno, inode, buf);
+ STACK_UNWIND (frame, op_ret, op_errno, inode, buf,
+ preparent, postparent);
return 0;
}
@@ -355,7 +363,7 @@ io_stats_rmdir_cbk (call_frame_t *frame,
struct stat *preparent,
struct stat *postparent)
{
- STACK_UNWIND (frame, op_ret, op_errno);
+ STACK_UNWIND (frame, op_ret, op_errno, preparent, postparent);
return 0;
}