Staging: hv: storvsc: Implement per device memory pools
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 1 Dec 2011 12:59:20 +0000 (04:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Dec 2011 18:27:00 +0000 (10:27 -0800)
commitce3e301c442f7beffd049908a007697753766cf7
tree065d95237b2549e937c49c73280851f71999d576
parent10c43dd4c4403d35fc6477d547aa3a38b466b310
Staging: hv: storvsc: Implement per device memory pools

The current code implemented a per-HBA memory pool mechanism. For IDE disks
managed by this driver, there is a one to one correspondance between the
block device and the associated virtual HBA and since currently only IDE devices
can be the boot device, this addressed the deadlock issues that were raised during
the review process. This patch implements a per-lun memory pool mechanism.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c