summaryrefslogtreecommitdiffstats
path: root/drivers/block/smart1,2.h
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 /drivers/block/smart1,2.h
parent010e646ba2fdfc558048a97da746381c35836280 (diff)
downloadtalos-op-linux-c2f5b65020869215814df03c3941dac9436f99fb.tar.gz
talos-op-linux-c2f5b65020869215814df03c3941dac9436f99fb.zip
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 'drivers/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud