Hide Forgot
Description of problem: On a graph change, along with the fd migration the locks acquired must also be migrated. How reproducible: Always Steps to Reproduce: 1. Acquire locks on a file 2. Perform volume set command that will change the graph 3. Then, try acquiring lock on the same range again from a different program. Actual results: The new lock is granted. Expected results: The new lock must not be granted. Additional info:
CHANGE: http://review.gluster.com/3227 (mount/fuse: Use state->lk_lock to print lock information on EAGAIN.) merged in master by Anand Avati (avati)
http://review.gluster.org/3051 is still in review for this.
CHANGE: http://review.gluster.org/4135 (libglusterfs: implement gf_strndup) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4121 (cluster/afr: handle GF_XATTR_LOCKINFO_KEY appropriately.) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4122 (mount/fuse: migrate posix locks after a graph-switch) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4123 (cluster/distribute: send getxattr on LOCKINFO to only cached subvolumes.) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4124 (libglusterfs/mem-pool: implement gf_memdup) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4125 (cluster/stripe: handle GF_XATTR_LOCKINFO_KEY in f(get)(set)xattr) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4209 (mount/fuse: add test cases for lock migration) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4120 (features/locks: implement fgetxattr and fsetxattr) merged in master by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4455 (fd-lk: implement new method to check for empty fd_lk_ctx_t) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.org/4453 (fuse-bridge: fix some breakages from lock migration patch) merged in master by Anand Avati (avati)
REVIEW: http://review.gluster.org/4951 (features/locks: call syncops only in syncenv threads.) posted (#1) for review on master by Raghavendra G (raghavendra)