Subject: do we need LOCK_CONFIRM?

From: "Kendrick M. Smith" <[email-masked]>
Date: Wed, 17 Oct 2001 18:48:18 -0400 (EDT)

I don't see why we need a LOCK_CONFIRM operation to confirm the
instantation of a new lock_owner with LOCK.  I do understand why
OPEN_CONFIRM is necessary: if the OPEN uses a lockowner for the
first time, the server has no way of knowing whether the OPEN
is a replay or not, hence OPEN_CONFIRM.  However, the LOCK
operation always supplies the server with an up-to-date seqid
for an existing lockowner (and an up-to-date stateid), which
is enough to ensure that the LOCK is not a replay.

If I am missing some reason why LOCK_CONFIRM is needed, can
someone supply an explicit example showing how things could
go wrong without it?

Thanks,
Kendrick