Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > No. Coalescing on the client makes tons of sense. The overhead of > > sending 8 RPC requests for 4k writes instead of sending 1 RPC request > > for a single 32k write is huge: among other things, you end up tying up > > 8 RPC slots on the client + 8 nfsd threads on the server instead of just > > one of each. > > yes - coalescing a few pages makes sense, but linearly scanning > thousands of entries is entirely pointless.
If each object has a unique ->wb_index then they could all be placed into a radix tree rather than a list. Use the gang-lookup functions to perform the sorting. - 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/