From: "Nicholas A. Bellinger" <nab@kernel.org>
To: Valdis.Kletnieks@vt.edu
Cc: linux-iscsi-target-dev@googlegroups.com,
LKML <linux-kernel@vger.kernel.org>,
linux-scsi <linux-scsi@vger.kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>, Christoph Hellwig <hch@lst.de>,
FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
James Bottomley <James.Bottomley@hansenpartnership.com>,
Mike Christie <michaelc@cs.wisc.edu>,
Hannes Reinecke <hare@suse.de>,
Jens Axboe <jens.axboe@oracle.com>
Subject: Re: [Announce]: Target_Core_Mod/ConfigFS and LIO-Target v3.0 work
Date: Sat, 13 Dec 2008 00:27:05 -0800 [thread overview]
Message-ID: <1229156825.4153.754.camel@haakon2.linux-iscsi.org> (raw)
In-Reply-To: <54939.1229149205@turing-police.cc.vt.edu>
On Sat, 2008-12-13 at 01:20 -0500, Valdis.Kletnieks@vt.edu wrote:
> On Fri, 12 Dec 2008 01:40:09 PST, "Nicholas A. Bellinger" said:
>
> > Too bad, because you are missing out on the most advanced ConfigFS
> > enabled storage engine on the planet.
>
> OK. I *have* to ask.. ;)
>
> What's the *second* most advanced configfs-enabled storage engine?
>
> The only in-tree users of configfs I could find (grepping for the string
> 'config_item_init') were drivers/net/netconsole, fs/ocfs2, and fs/dlm, so
> "most advanced configfs" is well into "world's tallest midget" territory...
>
It is advanced in the sense that it is the only user of ConfigFS that
spans across multiple kernel modules. In the context of the generic
target engine, this means that ConfigFS symlinks are used to create
Target Ports from the $FABRIC_MOD (like LIO-Target) to registered
$STORAGE_OBJECTS (storage devices available from Linux/SCSI, Linux/BLOCK
and Linux/VFS) within the generic target engine. The idea is that any
$FABRIC_MOD can create ConfigFS symlinks to the same $STORAGE_OBJECT,
and said $STORAGE_OBJECT can be shared across multiple $FABRIC_MODs.
Also, I cannot emphesize enough how much I think ConfigFS is the proper
direction for controlling a generic kernel level target engine, and
$FABRIC_MODs. It has made my work in lio-core-2.6.git simpler, and the
code easier to maintain and improve. I have implemented my own IOCTL,
Proc and SYSFS code for drivers over the years, and ConfigFS is the best
method that I have found to date for controlling a complex kernel
infrastructure across multiple plugin modules where config is driven by
userspace.
So I really invite folks to take a look at the ConfigFS for the generic
engine to see for themselves:
http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=blob;f=drivers/lio-core/target_core_configfs.c
and the LIO-Target iSCSI $FABRIC_MOD:
http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=blob;f=drivers/lio-core/iscsi_target_configfs.c
Unfortuately the detractors of ConfigFS on this list (who obviously have
their own motivations) can only offer hypothetical scenarios for
problems they forsee without writing a single line of ConfigFS code. I
however have no problems with the above running ConfigFS code, but these
folks have no interest in debating real running ConfigFS code, only
handwaving about their perceived limitiations of ConfigFS without
attempting to take the techincal points to linuxfs-devel, or contact the
ConfigFS author, etc.
Anyways, I appericate the comments, and invite you to have a look at the
running code for yourself.
Many thanks for your most valuable of time,
--nab
next prev parent reply other threads:[~2008-12-13 8:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 3:14 [Announce]: Target_Core_Mod/ConfigFS and LIO-Target v3.0 work Nicholas A. Bellinger
2008-12-11 19:24 ` Bart Van Assche
2008-12-11 19:58 ` Nicholas A. Bellinger
2008-12-12 7:21 ` Bart Van Assche
2008-12-12 9:40 ` Nicholas A. Bellinger
2008-12-13 6:20 ` Valdis.Kletnieks
2008-12-13 8:27 ` Nicholas A. Bellinger [this message]
2008-12-13 9:41 ` Bart Van Assche
[not found] ` <1229162907.4153.857.camel@haakon2.linux-iscsi.org>
[not found] ` <e2e108260812130223q13fd98d8gc1e55881a92b939@mail.gmail.com>
2008-12-13 11:18 ` Nicholas A. Bellinger
2008-12-13 11:56 ` Bart Van Assche
2008-12-13 12:33 ` Nicholas A. Bellinger
[not found] ` <e2e108260812130450y3288b32av7f435544823d9e97@mail.gmail.com>
2008-12-13 13:14 ` Nicholas A. Bellinger
2008-12-13 15:24 ` James Bottomley
2008-12-13 22:50 ` Nicholas A. Bellinger
2008-12-14 16:53 ` Bart Van Assche
2008-12-16 18:45 ` Vladislav Bolkhovitin
2008-12-13 15:35 ` Vladislav Bolkhovitin
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=1229156825.4153.754.camel@haakon2.linux-iscsi.org \
--to=nab@kernel.org \
--cc=James.Bottomley@hansenpartnership.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=hpa@zytor.com \
--cc=jens.axboe@oracle.com \
--cc=linux-iscsi-target-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
/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