23 Apr
2019
23 Apr
'19
3:24 p.m.
Hi Daniel, I have another idea for reclaim lock in nfs-ganesha cluster. Just remove all the logic judgement on lock request in nfs-ganesha no matter it is in grace period or not. nfs-ganesha just redirect the lock command to Ceph cluster. Ceph cluster will get clientid and open owner, so Ceph have enough information to grant the lock or not. If the client has been granted for the lock before, so the lock reclaim will also be successful. If the lock request is coming from other client, it will failed. If so, we don't need the grace period at all and don't need to put other server into grace periold too. Thanks, Marvin