Skip to contentSkip to conversation

ATTO esas2r - Scsi_Host_template max_lun setting

DISCUSSION James Bottomley 1 participant 1 message Jul 16, 2013 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

[please keep linux-scsi in the cc otherwise I'll lose the email]

Quoted 7 lines · Bradley Grove

James,

When we sent the first version of our driver code for comments, you suggested that we set max_lun in the host template and use that to enforce the lun limit. However, the Scsi_Host_Template struct doesn't doesn't contain mux_lun. Let me know if I misunderstood what you were asking for.

You set it in the detection routine just after you've obtained struct scsi_host. shost->max_lun.

James

Quoted 4 lines

I think we addressed your remaining issues as well as some issues that we found. That said, it's tough to be sure that we haven't reimplemented primitives that already exist in the kernel tree.