On Thu, Apr 2, 2015 at 1:29 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Wed, Apr 01, 2015 at 10:10:37AM -0700, Ming Lin wrote: >> >> My plan is to port kvblade to LIO. >> > >> > What's the benefit of integrating it with a SCSI target? >> >> Frankly I don't know ... my motivation is to learn LIO core by writing a target. > > For that case writing a SCSI target would be more useful I think. One > protocol that is really missing is SAS, and I think a SAS target using > libsas should be fairly doable, especially for chips like the mvsas > family that is heavily used in targets. Thanks for the idea. I don't have SAS hardware, but I may start playing with qemu-kvm + megasas. > >> And also hope it could be useful. > > I think a mainline ATAoE target would be very useful, but I doubt it > should be merged into LIO, there just isn't a whole lot of overlap. May try to push kvblade upsteam, https://github.com/MatiasBjorling/kvblade But think again about merging it into LIO, looks like the only missing part is translating ATA command to SCSI command. (can't use libata-scsi.c, it only translates SCSI command to ATA command). Thanks, Ming -- 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