Home
last modified time | relevance | path

Searched hist:"360 c73bdde4537397f70b17cadd8139ff1f75ab9" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dhpsa_cmd.hdiff 360c73bdde4537397f70b17cadd8139ff1f75ab9 Thu Apr 23 09:32:32 CDT 2015 Stephen Cameron <stephenmcameron@gmail.com> hpsa: factor out hpsa_init_cmd function

Factor out hpsa_cmd_init from cmd_alloc(). We also need
this for resubmitting commands down the default RAID path
when they have returned from the ioaccel paths with errors.

In particular, reinitialize the cmd_type and busaddr fields as these
will not be correct for submitting down the RAID stack path
after ioaccel command completion.

This saves time when submitting commands.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
H A Dhpsa.cdiff 360c73bdde4537397f70b17cadd8139ff1f75ab9 Thu Apr 23 09:32:32 CDT 2015 Stephen Cameron <stephenmcameron@gmail.com> hpsa: factor out hpsa_init_cmd function

Factor out hpsa_cmd_init from cmd_alloc(). We also need
this for resubmitting commands down the default RAID path
when they have returned from the ioaccel paths with errors.

In particular, reinitialize the cmd_type and busaddr fields as these
will not be correct for submitting down the RAID stack path
after ioaccel command completion.

This saves time when submitting commands.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>