MFC r198289:

Fix comment typos.

Approved by:	trasz (mentor)
This commit is contained in:
Jaakko Heinonen 2009-12-31 07:28:43 +00:00
parent c774a6224a
commit d2129b5030
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=201329

View File

@ -36,9 +36,9 @@ __FBSDID("$FreeBSD$");
* - The correct granularity of an OpenOwner is not nearly so * - The correct granularity of an OpenOwner is not nearly so
* obvious. An OpenOwner does the following: * obvious. An OpenOwner does the following:
* - provides a serial sequencing of Open/Close/Lock-with-new-lockowner * - provides a serial sequencing of Open/Close/Lock-with-new-lockowner
* - is used to check for Open/SHare contention (not applicable to * - is used to check for Open/Share contention (not applicable to
* this client, since all Opens are Deny_None) * this client, since all Opens are Deny_None)
* As such, I considered both extrema. * As such, I considered both extreme.
* 1 OpenOwner per ClientID - Simple to manage, but fully serializes * 1 OpenOwner per ClientID - Simple to manage, but fully serializes
* all Open, Close and Lock (with a new lockowner) Ops. * all Open, Close and Lock (with a new lockowner) Ops.
* 1 OpenOwner for each Open - This one results in an OpenConfirm for * 1 OpenOwner for each Open - This one results in an OpenConfirm for
@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$");
* which of these the vnodeop close applies to. This is handled by * which of these the vnodeop close applies to. This is handled by
* delaying the Close Op(s) until all of the Opens have been closed. * delaying the Close Op(s) until all of the Opens have been closed.
* (It is not yet obvious if this is the correct granularity.) * (It is not yet obvious if this is the correct granularity.)
* - How the code handles serailization: * - How the code handles serialization:
* - For the ClientId, is uses an exclusive lock while getting its * - For the ClientId, it uses an exclusive lock while getting its
* SetClientId and during recovery. Otherwise, it uses a shared * SetClientId and during recovery. Otherwise, it uses a shared
* lock via a reference count. * lock via a reference count.
* - For the rest of the data structures, it uses an SMP mutex * - For the rest of the data structures, it uses an SMP mutex