Yes, I also noticed and we have a defect filed. It is easy to fix but the
whole notion of passing export from upcall thread needs some fixing. This
is already broken though.
On May 5, 2017 12:01 AM, "Marc Eshel" <es...@us.ibm.com> wrote:
> Hi Frank,
>
> You recently added
> commit 65599c645a81edbe8b953cc29ac29978671a11be
> Author: Frank S. Filz <ffilz...@mindspring.com>
> Date: Wed Mar 1 17:28:18 2017 -0800
>
> Fill in FATTR4_SUPPORTED_ATTRS from FSAL fs_supported_attrs
>
>
> but when posix2fsal_attributes() is called from the up thread op_ctx is
> null.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7ffff3442280 (LWP 10492)]
> 0x000000000041d36f in posix2fsal_attributes (buffstat=0x7ffff3441020,
> fsalattr=0x7ffff3440e40)
> at /nas/ganesha/new-ganesha/src/FSAL/fsal_convert.c:422
> 422 fsalattr->supported =
> op_ctx->fsal_export->exp_ops.fs_supported_attrs(
> (gdb) where
> #0 0x000000000041d36f in posix2fsal_attributes (buffstat=0x7ffff3441020,
> fsalattr=0x7ffff3440e40)
> at /nas/ganesha/new-ganesha/src/FSAL/fsal_convert.c:422
> #1 0x00007ffff34527e2 in GPFSFSAL_UP_Thread (Arg=0x7ecb40) at
> /nas/ganesha/new-ganesha/src/FSAL/FSAL_GPFS/fsal_up.c:342
> #2 0x00007ffff65cadf3 in start_thread (arg=0x7ffff3442280) at
> pthread_create.c:308
> #3 0x00007ffff5c8b3dd in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
> (gdb) p op_ctx
> $1 = (struct req_op_context *) 0x0
>
>
>
>
>
>
> From: "Frank Filz" <ffilz...@mindspring.com>
> To: <nfs-ganesha-devel@lists.sourceforge.net>
> Date: 04/28/2017 03:47 PM
> Subject: [Nfs-ganesha-devel] Announce Push of V2.5-rc3
>
>
>
> Branch next
>
> Tag:V2.5-rc3
>
> Release Highlights
>
> * fix nlm and nsm refcounts
>
> * make state_owner hash table work like other hash tables
>
> * Fix F_GETLK/SETLK/SETLKW having F_GETLK64/SETLK64/SETLKW64 value
>
> * Don't call state_share_remove with support_ex
>
> * fixup use of handles into wire, host, key, and fsal object (3 patches)
>
> * FSAL_MEM - Check for valid attrs. CID #161621
>
> * Fix NFSv4 messages with NFS_V4 component
>
> * FSAL_GLUSTER - initialize buffxstat. CID 161510
>
> * Fix borked MDCACHE LTTng tracepoints
>
> * Fix CMake configuration so ganesha_conf is installed correctly.
>
> * fix some things in FSAL_GPFS
>
> * logging (non-root): move log files from /var/log to /var/log/ganesha/
>
> Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
>
> Contents:
>
> 1c71400 Frank S. Filz V2.5-rc3
> 58877b0 Kaleb S. KEITHLEY logging (non-root): move log files from /var/log
> to /var/log/ganesha/
> afa662e Swen Schillig [FSAL_GPFS] Fix root_fd gathering on export.
> 5eac292 Swen Schillig [FSAL_GPFS] Remove dead code.
> 36b5776 Swen Schillig [FSAL_GPFS] Remove duplicate code.
> 4fa6683 Wyllys Ingersoll Fix CMake configuration so ganesha_conf is
> installed correctly.
> 06a274f Daniel Gryniewicz Fix borked MDCACHE LTTng tracepoints
> 5d8126b Daniel Gryniewicz FSAL_GLUSTER - initialize buffxstat. CID 161510
> 872f174 Malahal Naineni Fix NFSv4 messages with NFS_V4 component
> 870bd0a Malahal Naineni Replace mdcache_key_t in struct fsdir by
> host-handle
> 292f3b0 Daniel Gryniewicz Clean up handle method naming in FSAL API
> ab9d2f1 Daniel Gryniewicz FSAL_MEM - Check for valid attrs. CID #161621
> ffd225b Malahal Naineni Add handle_to_key export operation.
> c362183 Malahal Naineni Don't call state_share_remove with support_ex
> 4fe2a3a Malahal Naineni Fix F_GETLK/SETLK/SETLKW having
> F_GETLK64/SETLK64/SETLKW64 value
> b049eb9 Malahal Naineni Convert state_owner hash table to behave like
> others
> 52e0e12 Malahal Naineni Fix nlm state refcount going up from zero
> acb632c Malahal Naineni Fix nsm client refcount going up from zero
> feb12d2 Malahal Naineni Fix nlm client refcount going up from zero
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel