Re: NFS client latencies

Ingo Molnar
2005-03-31T15:13:48Z

* Trond Myklebust <trond.myklebust@fys.uio.no> wrote:

> > would it be safe to collect locked entries into a separate, local list,
> > so that the restart would only see newly added entries? Then once the
> > moving of all entries has been done, all the locked entries could be
> > added back to the commit_list via one list_add. (can anything happen to
> > those locked entries that would break this method?)
>
> You are not allowed to remove an entry from the list if it is locked
> by someone else. Locking grants temporary ownership of the entry.

well, removing a neighboring entry will change the locked entry's link
fields (e.g. req->wb_list.prev), so this ownership cannot involve this
particular list, can it?

Ingo