On Wed, 22 Sep 2010 15:49:10 -0700 "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote: > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > This patch adds the TCM/ConfigFS core HBA and device backstore infrastructre > objects in /sys/kernel/config/target/core. It includes wrappers to logic for > Persistent Reservations and ALUA, and supports Linux/SCSI, Linux/BLOCK, and Linux/FILEIO > backstores using TCM subsystem plugin API. > > Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx> > --- > drivers/target/target_core_configfs.c | 3334 +++++++++++++++++++++++++++++++++ > include/target/target_core_configfs.h | 57 + > 2 files changed, 3391 insertions(+), 0 deletions(-) > create mode 100644 drivers/target/target_core_configfs.c > create mode 100644 include/target/target_core_configfs.h Can a driver create a directory/file under configfs? ibmvscsi target driver gets the list of targets to set up from hardware (see how drivers/scsi/ibmvscsi/ibmvstgt.c use vio_register_driver). The driver needs to tell an user about it so that he can set up luns, etc via configfs. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html