Re: [PATCH 2/2] use dynamically allocated sense buffer

2008-01-06 Thread FUJITA Tomonori
On Thu, 3 Jan 2008 13:56:37 +0900 FUJITA Tomonori <[EMAIL PROTECTED]> wrote: > This removes static array sense_buffer in scsi_cmnd and uses > dynamically allocated sense_buffer (with GFP_DMA). > > scsi_add_host allocates as many buffers as > scsi_host->can_queue. __scsi_get_command attaches sense

Re: [PATCH 2/2] use dynamically allocated sense buffer

2008-01-03 Thread FUJITA Tomonori
On Thu, 3 Jan 2008 13:56:37 +0900 FUJITA Tomonori <[EMAIL PROTECTED]> wrote: > This removes static array sense_buffer in scsi_cmnd and uses > dynamically allocated sense_buffer (with GFP_DMA). > > scsi_add_host allocates as many buffers as > scsi_host->can_queue. __scsi_get_command attaches sense

[PATCH 2/2] use dynamically allocated sense buffer

2008-01-02 Thread FUJITA Tomonori
This removes static array sense_buffer in scsi_cmnd and uses dynamically allocated sense_buffer (with GFP_DMA). scsi_add_host allocates as many buffers as scsi_host->can_queue. __scsi_get_command attaches sense_buffer to a scsi_cmnd and __scsi_put_command detaches the sense_buffer from it. There