ceph/wireshark
Yan, Zheng d3e3df7ad7 mds: fix owner check of file lock
flock and posix lock do not use process ID as owner identifier.
The process ID of who holds the lock is just for F_GETLK fcntl(2).
For linux kernel, File lock's owner identifier is the file pointer
through which the lock is requested.

The fix is do not take the 'pid_namespace' into consideration when
checking conflict locks. Also rename the 'pid' fields of struct
ceph_mds_request_args and struct ceph_filelock to 'owner', rename
'pid_namespace' fields to 'pid'.

The kclient counterpart of this patch modifies the flock code to
assign the file pointer to the 'owner' field of lock message. It
also set the most significant bit of the 'owner' field. We can use
that bit to distinguish between old and new clients.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-03-11 09:45:43 +08:00
..
ceph mds: fix owner check of file lock 2014-03-11 09:45:43 +08:00
ceph-alt Adding new Wireshark dissector. This is loosely based on the original 2013-07-04 17:00:55 +01:00
wireshark.patch wireshark: update patch 2012-07-31 15:49:25 -07:00