2002-05-07 17:50:48

by Dumas Patrice

[permalink] [raw]
Subject: [PATCH] granted call implementation for lockd

Hi,
This is a patch which permits a server lockd to use a granted call if the
client used a lock call (and still use granted_msg in case of a lock_msg).

In order to go around clients which doesn't respond to granted calls, the
granted call is a soft call. If there is a -EIO status, it reverts to
granted_msg, and to hard call. The code which handle this isn't clean, because
the rpc client is associated with the host, thus it isn't easy to make a change
from soft to hard or the reverse for a call and forget it afterwards.
Any idea about that ?

Pat


Attachments:
(No filename) (555.00 B)
linux-2.4.18-granted.diff (10.85 kB)
Download all attachments