summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2016-04-30 22:01:47 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-05-03 15:07:21 -0700
commit9abed2198f78e476fff2c8cca3307915852043fe (patch)
tree30901c3fd636723668095b07891f823e9ff02343 /cli
parentdd0133fd38232261521fb6a810b9bb6dde4cc5a4 (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 the below mainline fix - http://review.gluster.org/14132 Change-Id: I9499cd9c284350d4a271e58f2a0966db65a7a61c BUG: 1332433 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> Reviewed-on: http://review.gluster.org/14181 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Smoke: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions