linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>,
	Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Hal Rosenstock
	<hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: shrink struct ib_send_wr V4
Date: Mon, 2 Nov 2015 18:20:40 -0500	[thread overview]
Message-ID: <5637EFC8.4010300@redhat.com> (raw)
In-Reply-To: <20151101180609.GC13943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 4675 bytes --]

On 11/01/2015 01:06 PM, Greg Kroah-Hartman wrote:
> On Sun, Nov 01, 2015 at 02:10:48PM +0200, Or Gerlitz wrote:
>> On 10/29/2015 1:51 PM, Christoph Hellwig wrote:
>>> On Wed, Oct 28, 2015 at 10:57:59PM -0400, Doug Ledford wrote:
>>>>>>> I had to do a minor hand merge to get this to apply, but it has been
>>>>>>> pulled in for 4.4.
>>>>>
>>>>> This breaks all of the drivers in staging BTW.  That will need fixed up
>>>>> before the pull request goes in during the merge window.
>>> That latest branch on infradead.org should have fixed all the staging
>>> drivers.  But Linus just clarified that we indeed do not have to care for
>>> staging drivers, I asked him at kernel summit in front of the whole audience.
>>
>> Can you and/or Greg clarify this a little further... when someone modified
>> an API called by others
>> drivers,  they don't have to deal with staging drivers?
> 
> Yes, that is correct.
> 
>> that is, the folks that care for this staging code need to handle
>> that?
> 
> Yes, that is correct.
> 
> It's up to the owners of the staging drivers to do the work, we do not
> make it the responsibility of anyone else.  Now most of the time people
> are nice and fix up everything else, but it's not a requirement at all.
> 
> hope this helps,

Not really.  That may be a satisfactory answer for most of the things in
the staging area, but it is not a satisfactory for the items I moved
into that area.  The things I moved there belong in one of two categories:

1) Aging, but working, drivers that will be removed in the future.
Since we no longer have a deprecation mechanism, I was informed that the
normal procedure now is to move the driver to staging for a while and
then remove it permanently on a future schedule.  This provides an
orderly removal process.  But, if you make it so that random people can
break the driver with no responsibility for fixing up their breakage, in
contrast to the entire rest of the kernel, then you eliminate that
orderly removal process and turn it into a completely non-deterministic
and chaotic removal process.  So, no, if that's how it will be handled,
I will move the deprecated drivers back to the main rdma tree and time
them out and perform the orderly removal myself.

2) New drivers (one currently, one other one submitted but not yet
pulled in) under active development but which need specific things fixed
up.  These have people already working on them full time.  They were
submitted to the staging tree with a specific TODO in order to get out.
 If you then break that driver and force the driver author to fix it,
you have in essence changed the TODO list.  That means you now have a
moving goal post scenario.

And this behavior is somewhat justified if you have a driver that is
languishing in staging and being mostly ignored by the
authors/maintainers of the driver.  If the maintainers don't care enough
about it to fix it up, why should the core kernel developers keeping the
kernel modern fix them up?

But what about when the drivers *are* being actively maintained and
worked on?  From the perspective of a maintainer trying to get their
driver out of staging, this policy means that drivers that are already
in the main tree get help from the core developer who *must* fix them up
to work with their changes according to policy, while the same core
developer is allowed to ignore any responsibility for fixing up any
staging drivers.  At the same time, it is highly likely that since the
core kernel drivers have reached a level of maturity that they don't
really *need* a lot of help keeping up with changes nor require a lot of
work.  The maintainer trying to get their driver out of staging however
could probably use the help the most, and certainly likely doesn't need
any extra work dumped on their back.

So, no, for the drivers I have moved into the staging tree, I don't
support this policy.  This policy is really just a means of not making
core developers work on drivers that no one cares about.  The *means* of
saving those core developers that work turns out to effectively be a
punishment to any driver maintainer in the staging area who isn't
allowing their driver to languish and go unmaintained.  Because the
staging tree is not limited to just drivers deserving of this
punishment, the policy itself is inappropriate IMO.  If that's going to
be a problem, I have no issue moving the entire staging/rdma tree back
into the drivers/infiniband area and fixing it up appropriately.


-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: 0E572FDD



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

  parent reply	other threads:[~2015-11-02 23:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 15:13 shrink struct ib_send_wr V4 Christoph Hellwig
     [not found] ` <1442157215-22341-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2015-09-13 15:13   ` [PATCH 2/2] IB: remove xrc_remote_srq_num from struct ib_send_wr Christoph Hellwig
2015-09-29  8:58   ` shrink struct ib_send_wr V4 Haggai Eran
2015-10-11 13:13   ` Christoph Hellwig
2015-10-29  2:25   ` Doug Ledford
     [not found]     ` <5631839B.30300-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-29  2:57       ` Doug Ledford
     [not found]         ` <56318B37.20207-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-29 11:51           ` Christoph Hellwig
     [not found]             ` <20151029115114.GA18466-jcswGhMUV9g@public.gmane.org>
2015-10-29 14:38               ` Doug Ledford
2015-11-01 12:10               ` Or Gerlitz
     [not found]                 ` <56360148.8060608-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-01 18:06                   ` Greg Kroah-Hartman
     [not found]                     ` <20151101180609.GC13943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-11-02 23:20                       ` Doug Ledford [this message]
     [not found]                         ` <5637EFC8.4010300-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-02 23:37                           ` Greg Kroah-Hartman
     [not found]                             ` <20151102233726.GA18251-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-11-03  0:02                               ` Doug Ledford
     [not found]                                 ` <5637F97C.5090205-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-03  0:18                                   ` Jason Gunthorpe
     [not found]                                     ` <20151103001845.GA24206-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-11-03  0:49                                       ` Greg Kroah-Hartman
2015-11-03  0:52                                       ` Doug Ledford
     [not found]                                         ` <56380535.5040101-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-03  1:28                                           ` Jason Gunthorpe
     [not found]                                             ` <20151103012821.GA24650-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-11-03  2:03                                               ` Doug Ledford
     [not found]                                                 ` <563815F7.2090003-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-03  4:16                                                   ` Greg Kroah-Hartman
     [not found]                                                     ` <20151103041614.GA14023-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-11-04 15:00                                                       ` Doug Ledford
     [not found]                                                         ` <563A1D96.2050507-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-04 17:16                                                           ` Greg Kroah-Hartman
     [not found]                                                             ` <20151104171620.GA8504-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-11-04 17:40                                                               ` Doug Ledford
2015-11-03  4:38                                                   ` Jason Gunthorpe
2015-11-03  0:49                                   ` Greg Kroah-Hartman
     [not found]                                     ` <20151103004922.GA22926-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-11-03  3:14                                       ` Doug Ledford
     [not found]                                         ` <5638267E.3020408-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-03  4:22                                           ` Greg Kroah-Hartman
2015-11-03 16:59                               ` Chuck Lever
     [not found]                                 ` <D8B3250B-37D1-449B-BFA2-C4133C197AC5-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2015-11-03 17:43                                   ` Greg Kroah-Hartman

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=5637EFC8.4010300@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=hch-jcswGhMUV9g@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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 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).