diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-06-17 10:45:19 +0530 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-06-18 06:12:07 +0000 |
commit | 351091657359b41a261ea43c2fcddf5629f44943 (patch) | |
tree | d7b71806946886ff76624a0080f18e1ff7fbd74b /tests | |
parent | 4a2a6b988880fa18337b96e339b14390c9a7c0a8 (diff) |
mount/fuse: use cookies to get fuse-interrupt-record instead of xdata
Problem:
On executing tests/features/flock_interrupt.t the following error log
appears
[2020-06-16 11:51:54.631072 +0000] E
[fuse-bridge.c:4791:fuse_setlk_interrupt_handler_cbk] 0-glusterfs-fuse:
interrupt record not found
This happens because fuse-interrupt-record is never sent on the wire by
getxattr fop and there is no guarantee that in the cbk it will be
available in case of failures.
Fix:
wind getxattr fop with fuse-interrupt-record as cookie and recover it
in the cbk
Fixes: #1310
Change-Id: I4cfff154321a449114fc26e9440db0f08e5c7daa
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/features/flock_interrupt.t | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/features/flock_interrupt.t b/tests/features/flock_interrupt.t index 964a4bc20ef..b8717e30dfb 100644 --- a/tests/features/flock_interrupt.t +++ b/tests/features/flock_interrupt.t @@ -28,6 +28,5 @@ flock $M0/testfile sleep 6 & { sleep 0.3; flock -w 2 $M0/testfile true; echo ok EXPECT_WITHIN 4 ok cat got_lock; ## Finish up -sleep 7; rm -f got_lock; cleanup; |