[Bugs] [Bug 1218566] New: upcall: polling is done for a invalid file

bugzilla at redhat.com bugzilla at redhat.com
Tue May 5 09:24:07 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1218566

            Bug ID: 1218566
           Summary: upcall: polling is done for a invalid file
           Product: GlusterFS
           Version: 3.7.0
         Component: upcall
          Keywords: Triaged
          Severity: medium
          Priority: medium
          Assignee: bugs at gluster.org
          Reporter: skoduri at redhat.com
                CC: jthottan at redhat.com, skoduri at redhat.com
        Depends On: 1213773



+++ This bug was initially created as a clone of Bug #1213773 +++

Description of problem:

glfs_h_poll_upcall() is used to poll upcall events which is stored in upcall
list. If list contains invalid entries it should be removed , so further
polling of the same can be avoided.


Version-Release number of selected component (if applicable):

mainline

How reproducible:
always


Actual results:
polling is done for invalid entries

Expected results:
polling should not done for invalid entries

Additional info:

This issue was faced while running perf test on pnfs.
snippet from gfapi logs :
[2015-04-21 07:24:39.734836] W
[glfs-handleops.c:1163:pub_glfs_h_create_from_handle] 0-meta-autoload: inode
refresh of 204a66bc-f262-4a8e-b5e3-9be4fd5bf07c failed: Stale file handle
[2015-04-21 07:24:39.768259] W
[glfs-handleops.c:1163:pub_glfs_h_create_from_handle] 0-meta-autoload: inode
refresh of 204a66bc-f262-4a8e-b5e3-9be4fd5bf07c failed: Stale file handle
[2015-04-21 07:24:39.803004] W
[glfs-handleops.c:1163:pub_glfs_h_create_from_handle] 0-meta-autoload: inode
refresh of 204a66bc-f262-4a8e-b5e3-9be4fd5bf07c failed: Stale file handle
[2015-04-21 07:24:39.844828] W
[glfs-handleops.c:1163:pub_glfs_h_create_from_handle] 0-meta-autoload: inode
refresh of 204a66bc-f262-4a8e-b5e3-9be4fd5bf07c failed: Stale file handle

snippet from nfs-ganesha.log
21/04/2015 05:17:19 : epoch 5535049d :
heka-client-13.gdev.lab.eng.bos.redhat.com :
ganesha.nfsd-19940[fsal_up_0x7f811] GLUSTERFSAL_UP_Thread :FSAL_UP :CRIT
:OPENHANDLE_INODE_UPDATE failed for 0x7f811ae80780. rc -1 errno 12 (Cannot
allocate memory) reason 2
21/04/2015 05:17:20 : epoch 5535049d :
heka-client-13.gdev.lab.eng.bos.redhat.com :
ganesha.nfsd-19940[fsal_up_0x7f811] GLUSTERFSAL_UP_Thread :FSAL_UP :CRIT
:OPENHANDLE_INODE_UPDATE failed for 0x7f811ae80780. rc -1 errno 12 (Cannot
allocate memory) reason 2
21/04/2015 05:17:20 : epoch 5535049d :
heka-client-13.gdev.lab.eng.bos.redhat.com :
ganesha.nfsd-19940[fsal_up_0x7f811] GLUSTERFSAL_UP_Thread :FSAL_UP :CRIT
:OPENHANDLE_INODE_UPDATE failed for 0x7f811ae80780. rc -1 errno 12 (Cannot
allocate memory) reason 2

--- Additional comment from Anand Avati on 2015-04-22 13:10:13 EDT ---

REVIEW: http://review.gluster.org/10341 (gfapi: Skip and delete the upcall
entry if not found) posted (#1) for review on master by soumya k
(skoduri at redhat.com)

--- Additional comment from Anand Avati on 2015-04-27 04:54:13 EDT ---

REVIEW: http://review.gluster.org/10341 (gfapi: Skip and delete the upcall
entry if not found) posted (#2) for review on master by soumya k
(skoduri at redhat.com)

--- Additional comment from Anand Avati on 2015-05-04 08:28:30 EDT ---

REVIEW: http://review.gluster.org/10341 (gfapi: Skip and delete the upcall
entry if not found) posted (#4) for review on master by soumya k
(skoduri at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1213773
[Bug 1213773] upcall: polling is done for a invalid file
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list