diff options
author | Pavan Sondur <pavan@gluster.com> | 2009-10-28 17:04:33 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-29 00:52:53 -0700 |
commit | 82c0df9941abfb4836947fce1ff9da266dbd7499 (patch) | |
tree | 6d40cf1727ccc6f7d8b241e4248407a136b3648f /xlators/features/locks/src/posix.c | |
parent | 08327b6a6bdb7a3807a9d279b6d5f99686d13b99 (diff) |
Print inodelks in and out if option trace is on.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 306 (Enhance locks to aid debugging)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r-- | xlators/features/locks/src/posix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index f23716251..21f1870b8 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -645,7 +645,7 @@ pl_lk (call_frame_t *frame, xlator_t *this, goto unwind; } - pl_trace_in (this, frame, fd, NULL, cmd, flock); + pl_trace_in (this, frame, fd, NULL, cmd, flock, NULL); switch (cmd) { @@ -680,7 +680,7 @@ pl_lk (call_frame_t *frame, xlator_t *this, if (ret == -1) { if (can_block) { - pl_trace_block (this, frame, fd, NULL, cmd, flock); + pl_trace_block (this, frame, fd, NULL, cmd, flock, NULL); goto out; } gf_log (this->name, GF_LOG_DEBUG, "returning EAGAIN"); @@ -691,7 +691,7 @@ pl_lk (call_frame_t *frame, xlator_t *this, } unwind: - pl_trace_out (this, frame, fd, NULL, cmd, flock, op_ret, op_errno); + pl_trace_out (this, frame, fd, NULL, cmd, flock, op_ret, op_errno, NULL); pl_update_refkeeper (this, fd->inode); STACK_UNWIND_STRICT (lk, frame, op_ret, op_errno, flock); out: |