NVMe: Avoid shift operation when writing cq head doorbell
authorHaiyan Hu <huhaiyan@huawei.com>
Tue, 10 Sep 2013 03:25:37 +0000 (11:25 +0800)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 18 Nov 2013 22:10:51 +0000 (17:10 -0500)
Changes the type of dev->db_stride to unsigned and changes the value
stored there to be 1 << the current value. Then there is less
calculation to be done at completion time.

Signed-off-by: Haiyan Hu <huhaiyan@huawei.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>

No differences found