linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>,
	linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com
Subject: Re: [PATCH] adaptername: Move adapter naming into a plugin
Date: Thu, 16 Jun 2011 00:04:00 +0300	[thread overview]
Message-ID: <20110615210400.GA8352@dell.ger.corp.intel.com> (raw)
In-Reply-To: <1308133135.9190.11.camel@air.hadess.net>

Hi Bastien,

On Wed, Jun 15, 2011, Bastien Nocera wrote:
> > > I already sent the split patches (2 of them) last week:
> > > http://thread.gmane.org/gmane.linux.bluez.kernel/13621
> > 
> > No, I did notice that thread. It's not a split of this patch. For one
> > thing it doesn't contain any adaptername plugin at all.
> 
> I know. I mentioned on IRC that I would work on the adaptername plugin
> once those 2 patches went in. I'm getting a little bit sick of spinning
> patches that get reviewed when I don't have time. A month to get patches
> into bluez isn't my idea of fun.

I understand that and I'm sorry that the process has taken so long. I'm
mostly to blame, though a considerable part of the reason is that you're
not adding or touching some peripheral piece of code here but
fundamental core functionality that will inevitably take longer to
discuss and review compared other patches.

> > I also need to look more carefully into the name_stored change. I'm not
> > sure you completely understood its significance.
> 
> The significance is to avoid writing the adapter name to disk when it
> hasn't changed. Given that we only ever write the adapter name to disk
> in one location, and we check whether it's been changed, then the
> variable is useless.

Good. I just wanted to make sure that you're familiar with commit
eb3efee1 (that introduced this variable) and the use-case its commit
message describes, that you realize that a name write will trigger a
name read (in hciops) which in turn will trigger a new call to
adapter_update_local_name, and that part of all this is also to try to
support 3rd party name changers like hciconfig (not a very high priority
goal though).

> >  This is also a change
> > which doesn't exist in your original patch (again confirming that the
> > new thread is *not* a split of the original patch).
> 
> I *obviously* can't split the original patch in 2 patches and keep the
> code working. Lizardo wanted the simplification of the name setting and
> the adaptername plugin patch to be separate so that we could potentially
> bisect regressions.

I'll attribute it to your frustration with the tardiness of this process
that you don't seem to have the will or interest to understand what I
was trying to say. As Lizardo already clarified the proposed split was
about first moving the existing functionality/code to the new plugin and
then adding the prettyname support. The final outcome would then contain
the same functionality as the original patch and the code would "keep
working" at every step. Since neither of the new patches you sent
contained the adaptername plugin I concluded that it was something else
than the proposed split.

Btw, the get_default_adapter patch is now in so you can base the rest of
your patches on top of that.

Johan

  parent reply	other threads:[~2011-06-15 21:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 14:11 Another pass at adapter naming Bastien Nocera
2011-05-26 14:50 ` Bastien Nocera
2011-05-26 16:00   ` Luiz Augusto von Dentz
2011-05-26 16:12     ` Bastien Nocera
2011-05-26 16:46       ` Luiz Augusto von Dentz
2011-05-26 16:56         ` Bastien Nocera
2011-05-30 12:05           ` Luiz Augusto von Dentz
2011-05-30 14:50             ` Bastien Nocera
2011-06-07  9:34             ` [PATCH] adaptername: Move adapter naming into a plugin Bastien Nocera
2011-06-07  9:49               ` Daniele Forsi
2011-06-07 10:03                 ` Bastien Nocera
2011-06-08 16:13                   ` Anderson Lizardo
2011-06-08 17:38                     ` Bastien Nocera
2011-06-14  8:07                       ` Johan Hedberg
2011-06-14  9:18                         ` Bastien Nocera
2011-06-14  9:43                           ` Johan Hedberg
2011-06-15 10:18                             ` Bastien Nocera
2011-06-15 13:00                               ` Anderson Lizardo
2011-06-15 21:04                               ` Johan Hedberg [this message]
2011-07-19 11:26                                 ` Luiz Augusto von Dentz
2011-07-19 11:35                                   ` Luiz Augusto von Dentz
2011-07-19 12:35                                     ` Bastien Nocera
2011-06-08 17:43                     ` Bastien Nocera
2011-06-08 19:30                       ` Anderson Lizardo
2011-06-07 10:03                 ` Bastien Nocera

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=20110615210400.GA8352@dell.ger.corp.intel.com \
    --to=johan.hedberg@gmail.com \
    --cc=anderson.lizardo@openbossa.org \
    --cc=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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).