![]() | |||||||||||||
Messages in this thread |
On Tue, 19 Feb 2008 09:58:38 +0100
Jens Axboe <jens.axboe@oracle.com> wrote:
> > when I inserted printk here
> > ==
> > for (i = 0; i < nr; i++)
> > func(ioc, cics[i]);
> > printk("%d %lx\n", nr, index);
> > ==
> > index was always "1" and nr was always 32.
> >
> > So, cics[31]->key was always NULL when index=1 is passed to
> > radix_tree_gang_lookup().
>
> Hang on, it returned 32? It should not return more than 16, since that
> is what we have room for and asked for.
sorry. Of course, it was 16 ;(
your patch works well. thank you.
-Kame
| ||||||||||||
| Last update: 2008-02-19 10:13 [W:0.334 / U:0.950 seconds] ©2003-2008 Jasper Spaans | |||||||||||||