From: Doug Ledford <dledford@redhat.com>
To: "Nicholas A. Bellinger" <nab@linux-iscsi.org>,
Christoph Hellwig <hch@lst.de>
Cc: jlbec@evilplan.org, balbi@kernel.org,
laurent.pinchart@ideasonboard.com, target-devel@vger.kernel.org,
linux-usb@vger.kernel.org, linux-rdma@vger.kernel.org,
cluster-devel@redhat.com, ocfs2-devel@oss.oracle.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] configfs: switch ->default groups to a linked list
Date: Thu, 10 Mar 2016 21:19:01 -0500 [thread overview]
Message-ID: <56E22B15.1030000@redhat.com> (raw)
In-Reply-To: <1456615342.1750.49.camel@haakon3.risingtidesystems.com>
[-- Attachment #1: Type: text/plain, Size: 2348 bytes --]
On 02/27/2016 06:22 PM, Nicholas A. Bellinger wrote:
> On Fri, 2016-02-26 at 13:33 +0100, Christoph Hellwig wrote:
>> Replace the current NULL-terminated array of default groups with a linked
>> list. This gets rid of lots of nasty code to size and/or dynamically
>> allocate the array.
>>
>> While we're at it also provide a conveniant helper to remove the default
>> groups.
>>
>> Signed-off-by: Christoph Hellwig <hch@lst.de>
>> ---
>> Documentation/filesystems/configfs/configfs.txt | 11 +-
>> drivers/infiniband/core/cma_configfs.c | 31 ++--
>> drivers/target/iscsi/iscsi_target_configfs.c | 75 +++------
>> drivers/target/target_core_configfs.c | 203 +++++-------------------
>> drivers/target/target_core_fabric_configfs.c | 194 ++++++----------------
>> drivers/target/target_core_internal.h | 1 -
>> drivers/target/target_core_stat.c | 41 ++---
>> drivers/usb/gadget/configfs.c | 36 ++---
>> drivers/usb/gadget/function/f_mass_storage.c | 6 +-
>> drivers/usb/gadget/function/f_rndis.c | 1 -
>> drivers/usb/gadget/function/uvc_configfs.c | 198 +++++++++--------------
>> fs/configfs/dir.c | 44 +++--
>> fs/configfs/item.c | 1 +
>> fs/dlm/config.c | 38 +----
>> fs/ocfs2/cluster/nodemanager.c | 22 +--
>> include/linux/configfs.h | 11 +-
>> include/target/target_core_base.h | 3 -
>> 17 files changed, 284 insertions(+), 632 deletions(-)
>>
>
> This is a very nice simplification to drop the long-standing fixed size
> ->default_groups[] usage tree-wide for configfs consumers.
>
> For the target parts:
>
> Acked-by: Nicholas Bellinger <nab@linux-iscsi.org>
For the (minor) RDMA parts:
Acked-by: Doug Ledford <dledford@redhat.com>
> Also, this applies cleanly to target-pending/for-next, so I don't see a
> problem merging it up via your new configfs tree.
>
> Otherwise let me know, and I'll be happy to merge via target-pending.
Given that it touches target more than anything else, I'm happy to see
it merged through your tree.
--
Doug Ledford <dledford@redhat.com>
GPG KeyID: 0E572FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
next prev parent reply other threads:[~2016-03-11 2:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 12:33 [PATCH] configfs: switch ->default groups to a linked list Christoph Hellwig
2016-02-26 12:43 ` Felipe Balbi
2016-02-27 23:22 ` Nicholas A. Bellinger
2016-03-11 2:19 ` Doug Ledford [this message]
2016-02-28 10:58 ` Sagi Grimberg
2016-02-28 13:09 ` Christoph Hellwig
2016-03-05 21:40 ` Joel Becker
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=56E22B15.1030000@redhat.com \
--to=dledford@redhat.com \
--cc=balbi@kernel.org \
--cc=cluster-devel@redhat.com \
--cc=hch@lst.de \
--cc=jlbec@evilplan.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nab@linux-iscsi.org \
--cc=ocfs2-devel@oss.oracle.com \
--cc=target-devel@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).