lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: POHMELFS high performance network filesystem. Transactions, failover, performance.
> On Wed, May 14, 2008 at 11:40:28AM +0400, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote:
> > > If any thread takes more than one kmap() at a time, it is deadlockable.
> > > Because there is a finite pool of kmaps. Everyone can end up holding
> > > one or more kmaps, then waiting for someone else to release one.
> >
> > It never takes the whole LAST_PKMAP maps. So the same can be applied to
> > any user who kmaps at least one page - while user waits for free slot,
> > it can be reused by someone else and so on.
>
> Actually CIFS uses the same logic: maps multiple pages in wrteback path
> and release them after received reply.

Yes. Only a pagevec at a time, though... apparently 14 is a small enough
number not to bite too many people in practice?

sage


\
 
 \ /
  Last update: 2008-05-14 15:45    [W:0.911 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site