Re: [PATCH 02/10] scsi: restructure command initialization for TYPE_FS requests

2014-07-13 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> We should call the device handler prep_fn for all TYPE_FS Christoph> requests, not just simple read/write calls that are handled Christoph> by the disk driver. Christoph> Restructure the common I/O code to call the prep_fn handler Christo

Re: [PATCH 02/10] scsi: restructure command initialization for TYPE_FS requests

2014-07-11 Thread Hannes Reinecke
On 06/29/2014 03:34 PM, Christoph Hellwig wrote: We should call the device handler prep_fn for all TYPE_FS requests, not just simple read/write calls that are handled by the disk driver. Restructure the common I/O code to call the prep_fn handler and zero out the CDB, and just leave the call to

[PATCH 02/10] scsi: restructure command initialization for TYPE_FS requests

2014-06-29 Thread Christoph Hellwig
We should call the device handler prep_fn for all TYPE_FS requests, not just simple read/write calls that are handled by the disk driver. Restructure the common I/O code to call the prep_fn handler and zero out the CDB, and just leave the call to scsi_init_io to the ULDs. Signed-off-by: Christoph