[Top] [All Lists]

Re: linux-3.12 userspace Take 2

To: Rich Johnston <rjohnston@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
Subject: Re: linux-3.12 userspace Take 2
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 29 Oct 2013 16:30:18 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <526EE7CF.7090603@xxxxxxx>
References: <526A6FF9.8000506@xxxxxxx> <526EE7CF.7090603@xxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
On 10/28/13 5:40 PM, Rich Johnston wrote:
> Hey Folks,
> Sorry for any confusion, let me try again.
> In preparation for the new userspace release, are there any outstanding
> userspace patches that should be marked as critical and hold up the new
> userspace release?

Dave should definitely chime in too, but certainly at least the xfs_db
patchset - and talking w/ Dave, there's still much repair work to be done.

I'd personally like to see my xfs_fsr fix make it, but that's pretty
small potatoes.

However, I'm not sure we need to be super "release" focused quite yet;
more emphasis on reviewing & merging what's on the list will keep it
all moving along, and we can worry about releases down the road.

Once the xfs_db stuff goes in, maybe that would warrant another prerelease,

> Code shared by userspace and kernelspace are committed by different
> maintainers, I propose we discuss how to make it clear which patch
> series are tied together. This would aid reviewers and testers also.
>     One thought is to state in the kernel [PATCH 0/XX] email body
>     something like:
>         This kernel series shares the same headers as the
>         userspace series "NAME OF USERSPACE SERIES"
>     and a similar email for the userspace series.
>     The second commit should contain the first series commit id to
>     tie them together.

Having two maintainers will make it more tricky, and you guys will
have to communicate well in order for things to go smoothly.

To be orderly about it, I think we must be in a "kernel comes first"
mindset, i.e. changes are made there first, and then userspace, whether
we're talking about shared code, or new interfaces.  That'll
save us from "free()" type errors, among other things.  ;)

(There will be some independent changes on both sides, but determining
that independence should be part of review, i.e. "hey you need to change
this in kernelspace first!")

So yes, if you have a userspace patchset that has kernelspace counterparts,
wait for them to be committed by Ben.  And make sure they still match when
they go into xfsprogs; if not, that should be noted, and the patch series

As long as kernelspace is being committed in a timely manner post-review,
then userspace shouldn't lag that by much at all.

I can see how it might be helpful if a 00/XX cover letter makes it clear
that i.e. "patches 1 through 4 are to match kernel changes which have
already been sent in series $BLAH" or "... which are already committed."

If you want to adjust commit logs to note the kernel commit, you could,
although sounds like a bit more work on the maintainer end, and maybe
of limited value.

In the long run, I think Dave was talking about not a copy, but actual
shared code for libxfs, which would simplify all this.

But we're not there yet ...

> Userspace patch series will be committed when the entire patch series
> has been reviewed. Partial series commits will happen only with the
> authors approval (confirmation posted to the list).

Yeah, I think that's the best plan.  If it seems that a large series
is accomplishing several discrete changes, that could be noted in the
cover letter as well, giving "permission" up front to do a partial merge
when independent bits get reviewed, so the whole series doesn't need
to wait if it doesn't have to.


> Thanks
> --Rich
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>