linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: linux-scsi <linux-scsi@vger.kernel.org>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Subject: [PATCH 0/3] Generic v4.0 fabric module configfs infrastructure
Date: Mon, 22 Feb 2010 17:03:57 -0800	[thread overview]
Message-ID: <1266887037-3803-1-git-send-email-nab@linux-iscsi.org> (raw)

From: Nicholas Bellinger <nab@linux-iscsi.org>

Greetings SCSI and virtual filesystem folks,

This patch series contains the initial commits to lio-core-2.6.git/lio-4.0 to
support the new generic fabric module configfs infrastructure for TCM, and
the subsequent changes to drivers/target/lio-target and drivers/target/tcm_loop
to use generic configfs infrastructure from drivers/target/target_core_fabric_configfs.c.

The main idea behind the 4.0 configfs code is that fabric modules can use a generic
set of struct config_item_types and struct config_groups hanging off fabric dependent
structures, without having to explictly define a configfs layout of
/sys/kernel/config/target/$FABRIC themselves.  This allows a generic layout to be used with
fabric dependent attributes using struct config_item_type context specific macros in
include/target/target_core_fabric_configfs.h.

This is still a WIP, and this first series allows both lio-target and tcm_loop
fabric modules to run in demo mode (eg: no ACLs) using the generic configfs code.

I am hoping to get some feedback on the current work and any thoughts on possible improvements..

Thanks!

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>

Nicholas Bellinger (3):
  [TCM/Configfs]: Generic fabric module configfs infrastructure WIP
  [LIO-Target/ConfigFS]: Convert layout to use generic configfs struct
    config_item_types WIP
  [TCM_Loop/ConfigFS]: Convert layout to use generic configfs struct
    config_item_types

 drivers/target/Kbuild                             |    1 +
 drivers/target/lio-target/iscsi_target.c          |    4 +-
 drivers/target/lio-target/iscsi_target_configfs.c | 1010 +++------------------
 drivers/target/lio-target/iscsi_target_core.h     |   15 +-
 drivers/target/lio-target/iscsi_target_erl0.c     |    4 +-
 drivers/target/lio-target/iscsi_target_login.c    |   10 +-
 drivers/target/lio-target/iscsi_target_nego.c     |    2 +-
 drivers/target/lio-target/iscsi_target_tpg.c      |   39 +-
 drivers/target/lio-target/iscsi_target_version.h  |    2 +-
 drivers/target/target_core_configfs.c             |   24 +-
 drivers/target/target_core_fabric_configfs.c      |  612 +++++++++++++
 drivers/target/target_core_tpg.c                  |   18 +-
 drivers/target/tcm_loop/tcm_loop_configfs.c       |  435 ++++------
 drivers/target/tcm_loop/tcm_loop_core.h           |   18 +-
 drivers/target/tcm_loop/tcm_loop_fabric_scsi.c    |    2 +-
 include/target/target_core_base.h                 |   22 +-
 include/target/target_core_configfs.h             |   20 +-
 include/target/target_core_fabric_configfs.h      |   50 +
 include/target/target_core_fabric_ops.h           |   19 +
 include/target/target_core_tpg.h                  |    6 +-
 20 files changed, 1079 insertions(+), 1234 deletions(-)
 create mode 100644 drivers/target/target_core_fabric_configfs.c
 create mode 100644 include/target/target_core_fabric_configfs.h


                 reply	other threads:[~2010-02-23  1:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1266887037-3803-1-git-send-email-nab@linux-iscsi.org \
    --to=nab@linux-iscsi.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).