• M
    NVMe: Simplify completion handling · c2f5b650
    Matthew Wilcox 提交于
    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: NMatthew Wilcox <matthew.r.wilcox@intel.com>
    c2f5b650
nvme.c 41.6 KB