Vladislav Bolkhovitin 2ff0f44c4c Avoid that a warning like the one below is triggered when adding
a nullio, fileio or blockio device with a name that already exists:

WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0x95/0xd0()
sysfs: cannot create duplicate filename '/kernel/scst_tgt/devices/disk09'
Call Trace:
warn_slowpath_common+0x72/0xa0
? sysfs_add_one+0x95/0xd0
? sysfs_add_one+0x95/0xd0
warn_slowpath_fmt+0x33/0x40
sysfs_add_one+0x95/0xd0
create_dir+0x61/0xa0
sysfs_create_dir+0x71/0xb0
kobject_add_internal+0x9b/0x250
? kvasprintf+0x41/0x50
kobject_init_and_add+0x39/0x60
scst_dev_sysfs_create+0x6e/0x250 [scst]
scst_register_virtual_device+0x1f4/0x3e0 [scst]
vdev_nullio_add_device+0x14f/0x1c0 [scst_vdisk]
? vdisk_add_nullio_device+0x5a/0x110 [scst_vdisk]
vdisk_add_nullio_device+0xf1/0x110 [scst_vdisk]
? scst_check_grab_devt_ptr.clone.0+0xa8/0x170 [scst]
scst_process_devt_mgmt_store+0xa9/0x2a0 [scst]
? spin_unlock.clone.11+0x12/0x20 [scst]
scst_devt_mgmt_store_work_fn+0x13/0x20 [scst]
scst_process_sysfs_works+0x7f/0x170 [scst]
? spin_lock.clone.10+0x12/0x20 [scst]
sysfs_work_thread_fn+0x103/0x270 [scst]
? wake_up_bit+0x30/0x30
? prepare_to_wait_exclusive_head.clone.16+0x60/0x60 [scst]
kthread+0x84/0x90
? __init_kthread_worker+0x60/0x60
kernel_thread_helper+0x6/0x10

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3938 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-23 02:35:44 +00:00
2011-03-28 11:31:49 +00:00
2011-07-10 11:04:49 +00:00
2011-04-19 22:56:07 +00:00
2008-06-26 16:35:10 +00:00
2011-09-01 19:04:24 +00:00

This is the SCST development repository. It contains not a single
project SCST as one can think, but a number of them, which are divided
as the following:

1. SCST core in scst/ subdirectory

2. Administration utility for SCST core scstadmin in scstadmin/

3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc.

4. User space programs in usr/ subdirectory, like fileio_tgt.

5. Some various docs in doc/ subdirectory.

Those subprojects are in most cases independent from each other,
although some of them depend from the SCST core. They put in the single
repository only to simplify their development, they are released
independently.

Thus, use "make all" only if you really need to build everything.
Otherwise build only what you need, like for iSCSI-SCST:

make scst scst_install iscsi iscsi_install

For more information about each subproject see their README files.

Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
No description provided
Readme 33 MiB
Languages
C 90.1%
Perl 4.2%
Shell 1.8%
HTML 1.7%
Makefile 1.2%
Other 0.9%