From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760344Ab2DKOVK (ORCPT ); Wed, 11 Apr 2012 10:21:10 -0400 Received: from kamaji.grokhost.net ([87.117.218.43]:54883 "EHLO kamaji.grokhost.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755389Ab2DKOVI (ORCPT ); Wed, 11 Apr 2012 10:21:08 -0400 From: Chris Boot To: linux1394-devel@lists.sourceforge.net, target-devel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, agrover@redhat.com, clemens@ladisch.de, nab@linux-iscsi.org, stefanr@s5r6.in-berlin.de Subject: [PATCH v3 00/11] firewire-sbp-target: FireWire SBP-2 SCSI target Date: Wed, 11 Apr 2012 15:20:32 +0100 Message-Id: <1334154043-69076-1-git-send-email-bootc@bootc.net> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1329317248-94128-1-git-send-email-bootc@bootc.net> References: <1329317248-94128-1-git-send-email-bootc@bootc.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The FireWire SBP-2 Target is a driver for using an IEEE-1394 connection as a SCSI transport. This module uses the SCSI Target framework to expose LUNs to other machines attached to a FireWire bus, in effect acting as a FireWire hard disk similar to FireWire Target Disk mode on many Apple computers. Sorry this latest revision has been a long time coming. I was trying to chase down a crashing bug (but haven't been able to replicate it), changed my mind about a large portion of the code twice, and life got in the way as well! Changes in v3: * Updates for target framework API changes * Attempt to make headers self-contained * Remove bad use of atomics and memory barriers * Rework use of locking * Use system workqueues * Wrap fw_run_transaction() to retry failed transactions * Coding style fixes * Fix a few bugs * Overhaul sbp_rw_data() * Overhaul target fetch agent Changes in v2: * Fixed some copy & paste issues * Updated Kconfig (wording, depends, 'default n') * Removed some unnecessary EXPORT_SYMBOL()s * Merged sbp_util.{c,h} into sbp_configfs.c and sbp_base.h * Merged sbp_proto.{c,h} into sbp_fabric.{c,h} * Cleaned up comments and several printks * Fixed a few minor bugs * Create & use our own workqueue instead of using fw_workqueue * Dropped the unused TFO->new_cmd_map and sbp_new_cmd() * Overhauled and simplified tgt_agent_fetch_work() * Removed some redundant members of struct sbp_target_request * Removed struct sbp_lun and code to maintain redundant LUN list * Added spinlock to struct sbp_session and use locking throughout * Moved fw_card_{get,put,release}() into linux/firewire.h