[Bugs] [Bug 1440278] [GSS] NFS Sub-directory mount not working on solaris10 client

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 27 10:44:47 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17018 committed in release-3.10 by
Raghavendra Talur (rtalur at redhat.com) 
------
commit 04730eda1794d89e1cc186c16a504e4586196988
Author: Bipin Kunal <bkunal at redhat.com>
Date:   Mon Feb 27 15:23:04 2017 +0530

    nfs: make subdir mounting work for Solaris 10 clients

    This fixes the segfault caused by solaris client in Gluster/NFS.
    Volname was not being parsed properly, Instead of volume
    name complete path was being used in nfs_mntpath_to_xlator().
    Fixed it by striping volume name from complete path  in
nfs_mntpath_to_xlator().

    Modified function name nfs3_funge_solaris_zerolen_fh() to
    nfs3_funge_webnfs_zerolen_fh() as zero-filled filehandle is specific to
WebNFS.
    RFC : https://tools.ietf.org/html/rfc2055
    Solaris uses WebNFS, the zero-filled FH is defined in the WebNFS spec.

    Logic was even added in fuction nfs3_funge_webnfs_zerolen_fh() to send
    subdir path in function glfs_resolve_at() instead of complete path for
    subdir mount.

    > Change-Id: I19aae3547b8910e7ed4974ee5385424cab3e834a
    > BUG: 1426667
    > Signed-off-by: Bipin Kunal <bkunal at redhat.com>
    > Reviewed-on: https://review.gluster.org/16770
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > (cherry picked from commit 40e571339b3c19ab2a5b6a93bc46eadf2252d006)

    Change-Id: I0adfb1555be0c5bb43941530c5d87a820929a3cf
    BUG: 1440278
    Signed-off-by: Bipin Kunal <bkunal at redhat.com>
    Reviewed-on: https://review.gluster.org/17018
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=yOUZBXe12R&a=cc_unsubscribe


More information about the Bugs mailing list