On Tue, Oct 21, 2014 at 07:16:06AM -0400, Jeff Layton wrote: > Yeah, that's probably fine. Suggestions on what to union it with? > > struct callback_head is two pointers, so maybe we can use one of the > list_heads (fi_delegations maybe?). Sounds reasonable to me. > If we do want to change to a different type of structure I'd be fine > with that, but would prefer that it be RCU-friendly. What sort of > structure did you have in mind? For the XFS inode lookup we use multiple radix trees, which work very well for how inode numbers work in XFS with a clear allocation group component, and usual clustering of inode numbers. A simple radix tree might work fine for NFSd, or maybe the new resizable hash tables from the networking folks? -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html