[Sheepdog] [PATCH 1/2] store: split store_queue_request_local

Christoph Hellwig hch at infradead.org
Fri Nov 11 14:29:35 CET 2011


> Since we'er already here with the messy IO code, how about further
> cleaning up the code by replace the switch case with function array that
> is indexed by hdr->opcode? Would be even nicer if you try to re-factor
> the IO logic.

I've never been a huge fan of the indexed function pointer tables,
but if tha is what is wanted it's a trivial change on top of this one.




More information about the sheepdog mailing list