path: root/cli
diff options
authorSoumya Koduri <>2016-04-30 22:01:47 +0530
committerKaleb KEITHLEY <>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 - Change-Id: I9499cd9c284350d4a271e58f2a0966db65a7a61c BUG: 1332433 Signed-off-by: Soumya Koduri <> Reviewed-on: Reviewed-by: jiffin tony Thottan <> Reviewed-by: Kaleb KEITHLEY <> Reviewed-on: NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Smoke: Gluster Build System <>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions