diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-09-29 16:44:40 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-30 00:50:04 -0700 |
commit | ba20df9f1a218177e7c7dcc15a11143183d28243 (patch) | |
tree | 1406c543efb7604f0d410ca2ed1af9e72562fdbd /xlators/features/locks/src/common.h | |
parent | b9c48822413fad5caaafa92c039dae6494476d76 (diff) |
locks: dump client pid and time of blocking/granting.
Change-Id: Icaa919f3009fb70f6af9b95fceaf800f3beca447
BUG: 3662
Reviewed-on: http://review.gluster.com/532
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/features/locks/src/common.h')
-rw-r--r-- | xlators/features/locks/src/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h index dddcd339ba7..d95e287cb94 100644 --- a/xlators/features/locks/src/common.h +++ b/xlators/features/locks/src/common.h @@ -20,6 +20,7 @@ #ifndef __COMMON_H__ #define __COMMON_H__ +#define SET_FLOCK_PID(flock, lock) ((flock)->l_pid = lock->client_pid) posix_lock_t * new_posix_lock (struct gf_flock *flock, void *transport, pid_t client_pid, uint64_t owner, fd_t *fd); |