summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/changelogagent.py
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2016-04-30 22:01:47 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-06-17 05:25:29 -0700
commitae47d5b55e5c5f32a45bd9d1dd741a1c072ab2d6 (patch)
tree822c18b176640b41fcf45c8834c92ac696a7fc5c /geo-replication/syncdaemon/changelogagent.py
parentcf1e98ff5bf8233803b4f74debee1b1f474765af (diff)
gfapi/upcall: Ignore handle create failures
In "glfs_h_poll_cache_invalidation", we need to send upcall only if there is a corresponding inode entry in the gfapi inode table for that handle. That's because the application will have reference to the inode as long as it operates on any handle. That means the only case in which we cannot find inode is when the application has closed the handle (either as part of unlink or for any other purpose). But since it will have no more references and will not be interested in any upcall event for that handle, we can safely ignore such cases. Note: This will affect only that particular applicaiton process/local libgfapi client. This is backport of below mainline patch - http://review.gluster.org/14132 Change-Id: I9499cd9c284350d4a271e58f2a0966db65a7a61c BUG: 1347590 Signed-off-by: Soumya Koduri <skoduri@redhat.com> Reviewed-on: http://review.gluster.org/14132 Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> (cherry picked from commit fb77938fc7810dc5ac16b0de9694157cde93635e) Reviewed-on: http://review.gluster.org/14756 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'geo-replication/syncdaemon/changelogagent.py')
0 files changed, 0 insertions, 0 deletions