What version are you using?
On Tue, Nov 6, 2018 at 10:16 PM <ntvietvn(a)gmail.com> wrote:
>
> Hello,
>
> When reading the code, I wonder if the blocking lock can work with GPFS.
>
> When the FSAL upcalls the SAL with up_async_lock_grant, it passes handle info in
gsh_buffdesc so that in lock_grant we can rebuild the handle later (using create_handle)
to look for the existing blocked lock in the queue. The issue is create_handle of GPFS
always creates a new pointer to obj_hdl and in the lookup fct find_blocked_lock_upcall,
ganesha compares the pointer of obj_hdl and not the value of this handle, thus it will
never find the existing blocked lock.
>
> Should we use a fct like handle_compare instead or did I misunderstand something?
>
> Thank you
> Viet
> _______________________________________________
> Devel mailing list -- devel(a)lists.nfs-ganesha.org
> To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org