6 Nov
2018
6 Nov
'18
4:45 p.m.
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