On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > On Tue, 19 Feb 2008 09:58:38 +0100 > Jens Axboe <[EMAIL PROTECTED]> 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 ;(
I expected so, otherwise we would have had far more serious problems :-) > your patch works well. thank you. It's committed now and posted in the relevant bugzilla as well (#9948). -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/