linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joel Becker <jlbec@evilplan.org>
To: Bart Van Assche <bvanassche@acm.org>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	James Bottomley <James.Bottomley@suse.de>,
	Boaz Harrosh <bharrosh@panasas.com>
Subject: Re: Why using configfs as the only interface is wrong for a storage target
Date: Mon, 7 Feb 2011 03:53:48 -0800	[thread overview]
Message-ID: <20110207115347.GA7503@noexit> (raw)
In-Reply-To: <AANLkTi=b0mcWp3ergh=GvUF2CvgXUDv3Rq1fHY=xKf9L@mail.gmail.com>

On Mon, Feb 07, 2011 at 12:41:18PM +0100, Bart Van Assche wrote:
> On Fri, Feb 4, 2011 at 7:45 AM, Nicholas A. Bellinger
> <nab@linux-iscsi.org> wrote:
> > Please consider the following patch series for mainline target code.
> > It consists of predominately configfs bugfixes uncovered with recent SLUB
> > poison testing, and proper removal of legacy procfs target_core_mib.c code.
> > Note that the complete set of fabric independent statistics (SCSI MIBs) and
> > fabric dependent statistics will be included as native configfs group context
> > 'per value' attribute series during the .39 time frame.
> 
> I'm still not convinced that using configfs in a storage target as the
> only interface between kernel space and user space is a good idea.
> While configfs may satisfy all the needs of an iSCSI target, the use
> of configfs in combination with hot-pluggable HCAs is really awkward.
> Whenever a HCA is plugged in, the user has to issue mkdir commands to
> make these interfaces appear in configfs. And whenever a HCA is
> removed, stale information will remain present in configfs until the
> user issues an rmdir command. As we all know, it is not possible for a
> storage target to make these directories appear / disappear
> automatically in configfs because of basic configfs design choices.

	Any configuration would have to be handled.  We have plenty of
stuff that is handled by userspace hooks out of udev, etc.  That's a
normal hotplug process.
	Essentially, you're not challenging Nick's use of configfs here,
you're challenging his environment of setting up the target stack from
userspace.

Joel

-- 

"Sometimes I think the surest sign intelligent
 life exists elsewhere in the universe is that
 none of it has tried to contact us."
                                -Calvin & Hobbes

			http://www.jlbec.org/
			jlbec@evilplan.org

  reply	other threads:[~2011-02-07 11:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 11:41 Why using configfs as the only interface is wrong for a storage target Bart Van Assche
2011-02-07 11:53 ` Joel Becker [this message]
2011-02-07 12:08   ` Bart Van Assche
2011-02-07 19:57     ` Nicholas A. Bellinger
2011-02-07 14:41   ` James Bottomley
2011-02-07 15:02     ` Emmanuel Florac
2011-02-07 20:09       ` Nicholas A. Bellinger
2011-02-07 21:38         ` Emmanuel Florac
2011-02-07 22:44           ` Joel Becker
2011-02-07 22:53             ` Joel Becker
2011-02-08  0:03             ` Nicholas A. Bellinger
2011-02-08  8:01             ` Emmanuel Florac
2011-02-07 15:10     ` Hannes Reinecke
2015-09-16  7:34       ` Sergiu
2011-02-07 18:45     ` Joel Becker
2011-02-07 20:01 ` Nicholas A. Bellinger

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=20110207115347.GA7503@noexit \
    --to=jlbec@evilplan.org \
    --cc=James.Bottomley@suse.de \
    --cc=bharrosh@panasas.com \
    --cc=bvanassche@acm.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nab@linux-iscsi.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).