aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-10-15 07:33:46 -0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2012-01-10 14:47:46 -0500
commitc2f5b65020869215814df03c3941dac9436f99fb (patch)
tree61e4da8b569ec8f747243358429f1052c49f837b /firmware
parent010e646ba2fdfc558048a97da746381c35836280 (diff)
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: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions