Boaz Harrosh 3058d5de47 [SCSI] gdth: Setup proper per-command private data
- scsi_cmnd and specifically ->SCp of, where heavily abused
    with internal meaning members and flags. So introduce a new
    struct gdth_cmndinfo, put it on ->host_scribble and define a
    gdth_cmnd_priv() accessor to retrieve it from a scsi_cmnd.

  - The structure now holds two members:
    internal_command - replaces the IS_GDTH_INTERNAL_CMD() croft.
    sense_paddr - which was a 64-bit spanning on 2 32-bit members of SCp.
    More overloaded members from SCp and scsi_cmnd will be moved in a later
    patch (For easy review).

  - Split up gdth_queuecommand to an additional internal_function. The later
    is the one called by gdth_execute(). This will be more evident later in
    the scsi accessors patch, but it also facilitates in the differentiation
    between internal_command and external. And the setup of gdth_cmndinfo of
    each command.

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-10-12 14:56:05 -04:00
..
2007-10-12 14:54:29 -04:00
2007-07-31 15:39:39 -07:00
2007-04-01 10:10:04 -05:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-05-06 09:33:11 -05:00
2007-10-12 14:51:56 -04:00
2007-10-12 14:54:42 -04:00
2007-10-12 14:49:22 -04:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:54:33 -04:00
2007-10-12 14:51:44 -04:00
2007-10-12 14:51:44 -04:00
2007-05-31 17:30:04 -04:00
2007-10-12 14:37:35 -04:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:52:04 -04:00
2007-10-12 14:52:46 -04:00
2007-10-12 14:52:46 -04:00
2007-07-18 11:16:32 -05:00
2007-10-12 14:46:51 -04:00
2007-10-12 14:52:46 -04:00
2007-10-12 14:52:46 -04:00
2007-07-14 19:12:15 -05:00
2007-10-12 14:52:46 -04:00
2007-07-31 10:44:01 -05:00
2007-07-31 10:44:01 -05:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00