Re: NFS lockd

Olaf Kirch (okir@monad.swb.de)
Mon, 26 Jul 1999 14:23:44 +0200


On Thu, 08 Jul 1999 20:40:01 PDT, H.J. Lu wrote:
> > I have a NFS-related question for you: in fs/lockd/clntlock.c::reclaimer()
> > we have a very suspiciously-looking place - loop over the active locks
> > runs by ->fl_next, not ->fl_nextlink. AFAICS it's a bug, but I'ld like to
> > hear your confirmation on that. Comments?
> > Cheers,
>
> I am not familiar with the code. Does anyone have comments?

Yes, he's right. fl_next links all locks for one file; fl_nextlink
loops over all locks for all files, which is what we want when we
need to reclaim locks.

Olaf

-- 
Olaf Kirch         |  --- o --- Nous sommes du soleil we love when we play
okir@monad.swb.de  |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/