From owner-soc-status@freebsd.org Sun Jul 24 12:51:15 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21FAFBA2207 for ; Sun, 24 Jul 2016 12:51:15 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD3BB14EF for ; Sun, 24 Jul 2016 12:51:14 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id w143so14384649oiw.2 for ; Sun, 24 Jul 2016 05:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=90jM7OsKmWXTXYJtCwtq0A4ffFvwe9egv/sGsgZ46os=; b=KvbODZS1KvLfeyBecWaiI1Itrv32Yb5+ZBlvtSNXNKsticDWnBCSptFTQ1tFwXyMac HMtemcVJTfKYqu80oT032yTlYQpQC/7O9F4GG+mtoHHn+1d6a9RWmyXomPAziRzwFW2M 6P+3RrJ08V+V4Q28oyJmtWpfhXhe9qfjnylzCUVMIfGGI2T0nCJ0JsWqYlDCCpItnt+3 7BwRCHrcLG5WP5AAjFsMfXxSq4rG9HxLjkoi2gxWY3iyxx1O9bQ9D25oZ2eMBZ5J0Lgt xRGBO9yI/Eh9e1fVskn9+KVcVghjog35QcXnuy1LoNnvMTBrM2n54q4IrDJa7V1AzdcW 1GhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=90jM7OsKmWXTXYJtCwtq0A4ffFvwe9egv/sGsgZ46os=; b=i20OFn19WX9GZuJapjJTbard1fXm/HAMtwY5rFiEWRhpTdnqqNgMlmtIcp0mmdgF9s ZU9K0dFzilaV33MCuwPv50ImWuDc9wqJOYA4HaB9eigVHMHPdQXhI6QB7zWPz5VNuH/P MCqlr+R2y2XH8Tv1thFpyzWPkxf2XygMPgGCahZCpvbUCHMaZmyyGABgPVSebyV/uvV1 4na0F0a4v1FqMocd1qryYDukrv0YpoMXlKTKWK+ENrSZgvY5/NHcTZfMYs/q9ceE+MrQ +dxQA6p7ZgQRVo5F+q7pqRr3cLLpPb1jHT1+q8Sj7fuZMjcCzGlbHpsaLWVAu/BZ9LU3 dUAw== X-Gm-Message-State: AEkooutkB3I0phoLecl+rJ7cJA8Srw6VtJB1ZNqji7OBJZ9i1epnSA3pNBf4wvZoDoKqLt4zt7vrK475XRuOYg== X-Received: by 10.157.18.246 with SMTP id g109mr7553190otg.180.1469364673816; Sun, 24 Jul 2016 05:51:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.95.195 with HTTP; Sun, 24 Jul 2016 05:50:34 -0700 (PDT) From: Bhimanshu Kumar Date: Sun, 24 Jul 2016 18:20:34 +0530 Message-ID: Subject: Add SCSI passthrough to CTL To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 12:51:15 -0000 *Introduction : *CTL is the FreeBSD SCSI target layer. There are various SCSI commands, but it's usually used for block-level access. This projects focuses on making CTL capable of providing physical optical drive as a whole to the initiator machine Link : https://github.com/bhimanshu1997/freebsd Report for last week (17th July) 1. ctld(8) kernel.c code updated for passthrough-device and address luns. 2. code added to distinguish device or address type of passthrough , to create appropriate request to create lun 3. checks added for size and path with passthrough. No size and path should be set if it is passthrough. 4. conf_apply of ctld.c updated to check new and old lun on the basis of passthrough and passthrough, lun and passthrough , passthrough and lun. keeping the older functionality (lun and lun) intact. Report for this week(24th july): 1. XML parse coded added in CTL (ctl.c) and at ctladm side also. now ctladm devlist -vx will give passthrough details also in XML format.