summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-10-22 21:16:53 +0530
committerAmar Tumballi <amarts@redhat.com>2018-10-24 07:11:09 +0000
commitcf5b13896d65b6916634976a3a5f61ddeefbc19c (patch)
treea852203f3de1f68818b01f94aff5411c3e24a227 /xlators/mount/fuse/utils
parent63a8d72736aec13ae90eb1a425ffd2078e5236ad (diff)
leases:Mark the fop conflicting if lease_id not set
Glusterfs leases expects lease_id to be set and sent for each fop to determine conflict resolution with the existing lease. Incase if not set (most likely if there is an older client in a mixed cluster), it makes sense to consider it as conflicitng fop and recall the lease. Also fixed the return status check for __remove_lease(), wherein non-negative value is considered as success case. Change-Id: I5bcfba4f7c71a5af7cdedeb03436d0b818e85783 updates: #350 Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/utils')
0 files changed, 0 insertions, 0 deletions