Re: tcm/pscsi: Removal of struct scsi_disk access from pscsi_do_task()..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux