[PATCH] SCSI:STORVSC Use SCSI layer to allocate memory for per-command device request data

Olaf Hering olaf at aepfle.de
Tue Mar 10 11:42:33 UTC 2015


On Mon, Dec 29, Christoph Hellwig wrote:

> +++ b/drivers/scsi/storvsc_drv.c

>  static struct scsi_host_template scsi_driver = {
>  	.module	=		THIS_MODULE,
>  	.name =			"storvsc_host_t",
> +	.cmd_size =             sizeof(struct storvsc_cmd_request),
>  	.bios_param =		storvsc_get_chs,
>  	.queuecommand =		storvsc_queuecommand,
>  	.eh_host_reset_handler =	storvsc_host_reset_handler,
> +	.proc_name =		"storvsc_host",

It would be nice to change .proc_name to KBUILD_MODNAME before v4.0 is
released. We carry a patch which adds this field. Of cource we can just
change the patch, but if code gets touched upstream anyway...


Olaf


More information about the devel mailing list