Hello Sebastian, On Tue, 2016-03-15 at 00:08 +0100, Sebastian Herbszt wrote: > So I didn't give up yet and created tcm_lpfc which seems to survive some > light beating here. The target support consists of the previously posted > patches to lpfc and this new module with the following configfs tree: > > /sys/kernel/config/target/lpfc/ > +-- 10:00:00:00:c9:65:28:b2 > | +-- fabric_statistics > | +-- tpgt_0 > | +-- acls > | +-- attrib > | +-- auth > | +-- lun > | | +-- lun_0 > | | +-- alua_tg_pt_gp > | | +-- alua_tg_pt_offline > | | +-- alua_tg_pt_status > | | +-- alua_tg_pt_write_md > | | +-- disk0 -> ../../../../../../target/core/fileio_0/disk0 > | | +-- statistics > | | +-- scsi_port > | | | +-- busy_count > | | | +-- dev > | | | +-- indx > | | | +-- inst > | | | +-- role > | | +-- scsi_tgt_port > | | | +-- dev > | | | +-- hs_in_cmds > | | | +-- in_cmds > | | | +-- indx > | | | +-- inst > | | | +-- name > | | | +-- port_index > | | | +-- read_mbytes > | | | +-- write_mbytes > | | +-- scsi_transport > | | +-- device > | | +-- dev_name > | | +-- indx > | | +-- inst > | +-- np > | +-- param > +-- discovery_auth > +-- version > > The initiator correctly detects the volume: > > [ 2640.663321] scsi 6:0:0:0: Direct-Access LIO-ORG FILEIO 4.0 PQ: 0 ANSI: 5 > [ 2640.666392] sd 6:0:0:0: Attached scsi generic sg2 type 0 > [ 2640.666807] sd 6:0:0:0: [sdb] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB) > [ 2640.671373] sd 6:0:0:0: [sdb] Write Protect is off > [ 2640.671383] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 08 > [ 2640.671708] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA > [ 2640.716269] sd 6:0:0:0: [sdb] Attached SCSI disk > Wow, your continued efforts to breathe new life into tcm_lpfc after all these years is impressive, to say the least. ;) So last I heard from James Smart (CC'ed) 6 months ago, Avago was looking for a LIO contractor in this area. I'm not certain what Avago's position is wrt getting tcm_lpfc and associated lpfc LLD driver changes upstream, but I'm certainly supportive of any effort to finally make that happen. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html