LWN.net Logo

MidLayer updates

From:  James.Smart@Emulex.Com
To:  <linux-scsi@vger.kernel.org>
Subject:  [PATCH 0/3] MidLayer updates
Date:  Sat, 29 Jan 2005 09:02:58 -0500
Archive-link:  Article, Thread


The following 3 patches extend the scsi midlayer. Changes were prompted
by recent discussions with Christoph as part of the Emulex driver thread.

Patch 1: 
  Updates the recent transport container patch for :
  - allow device driver-specific attributes to be added to class objects
  - exposes classdev to transport via setup function

Patch 2: 
  Adds io statistics (requests, completions, error count) as generic
  attributes for scsi devices.

Patch 3: 
  This patch extends scsi_target support:
  - Allows for driver-specific data to be allocated along with the
    target structure and accessible via the starget->hostdata pointer.
  - Adds scsi target alloc/configure/destory callbacks to the
    scsi host template.
  - Rearranges the calling sequences for scsi targets so that the
    target and slave alloc/configure/destory callbacks are in
    order (target before slave on alloc/configure).

Although bad form, as there's so much churn in this area, the following
dependencies exist:
- Patches were created against scsi-rc-fixes-2.6 bitkeeper tree.
- Patch 1 depends on Mike Christies patch 
  http://marc.theaimsgroup.com/?l=linux-scsi&m=11067893...


-- James S
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds