From: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] [CIFS] Allocating SMB2 mids (multiplex identifier structures)
Date: Thu, 17 Mar 2011 11:04:06 -0400 [thread overview]
Message-ID: <20110317110406.06388256@barsoom.rdu.redhat.com> (raw)
In-Reply-To: <AANLkTikfxS=5E2QvSS6V-52cdjPKOKN2kd_PBQJnTSbo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Thu, 17 Mar 2011 09:54:48 -0500
Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Thu, Mar 17, 2011 at 9:47 AM, Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> > On Thu, 17 Mar 2011 09:41:34 -0500
> > Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> >> On Thu, Mar 17, 2011 at 9:35 AM, Christoph Hellwig <hch@infradead.org> wrote:
> >> > Btw, what branch are these commits for? I dearly hope you're not trying
> >> > to push half-assed code to mainline. Please do your development on a
> >> > branch first, and once there is a useable implementation it can be
> >> > reviewed and synced over. Take a look at pnfs development for example.
> >>
> >> We have an implementation that was in the test tree for a year, went
> >> through 3 test events that is being ported. I don't think it will
> >> take more than a week or so to get enough of it in. Unless it gets
> >> upstream, it is not going to get much wider review than from the
> >> original group (Pavel, Jeremy etc). Note that all code is marked as
> >> "broken" and the majority in distinct c files - this is not that
> >> different than pNFS, which only recently got usable in mainline but
> >> was checked in many releases back.
> >>
> >
> > I agree with Christoph here. If the code is marked "broken" then
> > merging it seems premature. I'd like to see the majority of this code
> > in a branch that we can test before it goes in anywhere.
> >
> > The exception would be targeted patches that prepare the existing
> > code to work with the new SMB2 code. Those can be reviewed and we can
> > should be able to take those prior to merging the smb2 code wholesale.
>
> The code to prepare for SMB2 should be mostly in place in
> tree now:
> - error mapping
> - transport
> - mount
> - stats
>
> . The sendrcv2 routine was the last part of that and
> was waiting on the bigendian change. I can defer
> all inode/file/address routines if you prefer until they are reviewed
> together, but the existing version in smb2.git could be used
> as a base depending on how much commonality people prefer.
>
>
> We have had over a year, including work by 4 developers in a distinct
> tree and got little meaningful feeback on features though until
> recently when it started showing up in cifs-2.6.git In over a year,
> the mainline code diverged in multiple trivial ways that made the port harder
> because the code was not visible to those outside the small number
> of developers who understand smb2.
>
One of the stated goals here is to minimize disruption to the existing
cifs codebase. The best way to do that is to break out the changes
needed to the existing codebase into a separate set of patches and post
those for review. The endianness change for the smb_buf_length is a
good example of this sort of change. Once those changes have reviewed
and merged, then we can start discussing how to merge the rest of the
SMB2 support.
I really don't think this approach is at all unreasonable. It may mean
a little more work on your end to break out these changes logically,
but I think it really needs to be done that way.
--
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
next prev parent reply other threads:[~2011-03-17 15:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-12 3:24 [PATCH] [CIFS] Allocating SMB2 mids (multiplex identifier structures) Steve French
[not found] ` <AANLkTi=oYKfaOP-oHbBKODddGkzAWg7bBsY2_ZT9e-W8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-17 14:35 ` Christoph Hellwig
[not found] ` <20110317143514.GB3295-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2011-03-17 14:41 ` Steve French
[not found] ` <AANLkTin-YWNgvdNpZQx28hXR9ZdhQciCLgEhUwqZf3-C-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-17 14:47 ` Christoph Hellwig
2011-03-17 14:47 ` Jeff Layton
[not found] ` <20110317104734.534a2ee4-xSBYVWDuneFaJnirhKH9O4GKTjYczspe@public.gmane.org>
2011-03-17 14:54 ` Steve French
[not found] ` <AANLkTikfxS=5E2QvSS6V-52cdjPKOKN2kd_PBQJnTSbo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-17 15:03 ` Christoph Hellwig
2011-03-17 15:04 ` Jeff Layton [this message]
[not found] ` <20110317110406.06388256-xSBYVWDuneFaJnirhKH9O4GKTjYczspe@public.gmane.org>
2011-03-17 16:21 ` Steve French
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=20110317110406.06388256@barsoom.rdu.redhat.com \
--to=jlayton-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.