Re: [PATCH] adaptername: Move adapter naming into a plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux