commit | c2f5b65020869215814df03c3941dac9436f99fb | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Sat Oct 15 07:33:46 2011 -0400 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue Jan 10 14:47:46 2012 -0500 |
tree | 61e4da8b569ec8f747243358429f1052c49f837b | |
parent | 010e646ba2fdfc558048a97da746381c35836280 [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>