Skip to content
Commit c2f5b650 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Simplify completion handling



Instead of encoding the handler type in the bottom two bits of the
per-completion context pointer, store the handler function as well
as the context pointer.  This gives us more flexibility and the code
is clearer.  It comes at the cost of an extra 8k of memory per queue,
but this feels like a reasonable price to pay.

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 010e646b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment