On Fri, Aug 06, 2010 at 09:01:50PM -0700, Nicholas A. Bellinger wrote: > *) Is passing NULL for struct gendisk *gd into blk_execute_rq_nowait() and hence > a NULL struct request->rd_disk acceptable for struct request->rq_flags=REQ_TYPE_BLOCK_PC > usage in pscsi_blk_init_request() and pscsi_blk_get_request()..? Yes. > *) Is there a more sane way to locate struct gendisk *gd from struct scsi_device > for the typical backing struct block_device TYPE_DISK case..? No. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html