[Bugs] [Bug 1335017] New: set errno in case of inode_link failures

bugzilla at redhat.com bugzilla at redhat.com
Wed May 11 07:08:47 UTC 2016


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

            Bug ID: 1335017
           Summary: set errno in case of inode_link failures
           Product: GlusterFS
           Version: 3.8.0
         Component: libgfapi
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: skoduri at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, sdharane at redhat.com
        Depends On: 1334621
            Blocks: 1333546, 1334852, 1334854, 1335016



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

Description of problem:

Currently gfapi does not seem to be setting errno appropriately in case of
inode_link failures. This may cause mislead applications (for eg., nfs-ganesha)
which rely on errno to determine the error encountered. 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Vijay Bellur on 2016-05-10 03:44:07 EDT ---

REVIEW: http://review.gluster.org/14278 (gfapi: set errno for inode_link
failures) posted (#1) for review on master by soumya k (skoduri at redhat.com)

--- Additional comment from Vijay Bellur on 2016-05-10 06:08:26 EDT ---

REVIEW: http://review.gluster.org/14278 (libglusterfs/gfapi: set appropriate
errno for inode_link failures) posted (#2) for review on master by soumya k
(skoduri at redhat.com)

--- Additional comment from Vijay Bellur on 2016-05-10 07:42:01 EDT ---

REVIEW: http://review.gluster.org/14278 (libglusterfs/gfapi: set appropriate
errno for inode_link failures) posted (#3) for review on master by soumya k
(skoduri at redhat.com)

--- Additional comment from Vijay Bellur on 2016-05-10 12:10:28 EDT ---

COMMIT: http://review.gluster.org/14278 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit 176724cdec7061ead0bd7497bb56d0ac09a668a7
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Tue May 10 13:03:42 2016 +0530

    libglusterfs/gfapi: set appropriate errno for inode_link failures

    We do not seem to be setting errno appropriately in case
    of inode_link failures. This errno may be used by any application
    (for eg., nfs-ganesha) to determine the error encountered. This
    patch addresses the same.

    Change-Id: I674f747c73369d0597a9c463e6ea4c85b9091355
    BUG: 1334621
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/14278
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1333546
[Bug 1333546] [GSS] - The ls command is causing nfs-ganesha to crash with a
SEGV
https://bugzilla.redhat.com/show_bug.cgi?id=1334621
[Bug 1334621] set errno in case of inode_link failures
https://bugzilla.redhat.com/show_bug.cgi?id=1334852
[Bug 1334852] set errno in case of inode_link failures
https://bugzilla.redhat.com/show_bug.cgi?id=1334854
[Bug 1334854] set errno in case of inode_link failures
https://bugzilla.redhat.com/show_bug.cgi?id=1335016
[Bug 1335016] set errno in case of inode_link failures
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list