lsi: have lsi_request for the whole life time of the request.
commitaf12ac9880eacdd79d49a11d5672df7170afb38f
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 6 Jan 2010 16:08:01 +0000 (6 17:08 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Jan 2010 15:56:30 +0000 (11 09:56 -0600)
tree8164a9afd6f9cf95917caae3ec6d612d07122a1c
parent042ec49dc52e54153942a089a46ae584152998fb
lsi: have lsi_request for the whole life time of the request.

Right now lsi_request is allocated when a request is queued and released
when a request is unqueued.  With this patch applied the lsi_request is
kept for the whole lifetime of the scsi request.

Rationale: We can use it for per-request data then.  The patch does that
already for the request tag.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lsi53c895a.c