* [PATCH 0/5] Yet another builtin-fetch round
@ 2007-09-19 4:49 Shawn O. Pearce
2007-09-20 2:40 ` Daniel Barkalow
0 siblings, 1 reply; 4+ messages in thread
From: Shawn O. Pearce @ 2007-09-19 4:49 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Another short series for db/fetch-pack, still in pu. Aside from
optimizing the pipeline on the native transport (so we only invoke
the remote process we need once vs. twice) I'm actually now quite
comfortable with this whole series and think it is ready for next.
I'm certainly running it in production, and will be until it is
merged. The performance difference is too big for me (and at least
some of my coworkers) to not be doing so. If there are any specific
reasons why this topic is not ready for next or is unsuitable for
merging please let me know so I can take the time to correct it.
1/5 Rename remote.uri to remote.url within remote handling internals
2/5 Refactor struct transport_ops inlined into struct transport
3/5 Always obtain fetch-pack arguments from struct fetch_pack_args
These three are basic code cleanups for small issues that
bothered me about the original implementation of builtin-fetch.
Now is just as good of a time as any to cleanup the code and make
it more maintainable. I think the overall total line count is
reduced by these three patches.
* Ensure builtin-fetch honors {fetch,transfer}.unpackLimit
* Fix memory leaks when disconnecting transport instances
Fixes two known (but minor) outstanding bugs. At this point
I do not know of any other bugs in builtin-fetch so I would
really appreciate testing reports from other people, especially
those whose uses cases might stray outside of my workflow. Hah,
I did not tell you my workflow. ;-)
--
Shawn.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/5] Yet another builtin-fetch round
2007-09-19 4:49 [PATCH 0/5] Yet another builtin-fetch round Shawn O. Pearce
@ 2007-09-20 2:40 ` Daniel Barkalow
2007-09-20 4:08 ` Junio C Hamano
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Barkalow @ 2007-09-20 2:40 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: Junio C Hamano, git
On Wed, 19 Sep 2007, Shawn O. Pearce wrote:
> Another short series for db/fetch-pack, still in pu. Aside from
> optimizing the pipeline on the native transport (so we only invoke
> the remote process we need once vs. twice) I'm actually now quite
> comfortable with this whole series and think it is ready for next.
While it's still in pu, should these series of corrections be amended into
the original series (for the ones that correct new code)? Most of the
before-fixing states aren't worth saving as project history.
> I'm certainly running it in production, and will be until it is
> merged. The performance difference is too big for me (and at least
> some of my coworkers) to not be doing so. If there are any specific
> reasons why this topic is not ready for next or is unsuitable for
> merging please let me know so I can take the time to correct it.
Good to hear that it's working for you. It's been working for me since
July, for my usage patterns, but they're not very extensive, and I was
mostly relying on the tests.
> 1/5 Rename remote.uri to remote.url within remote handling internals
> 2/5 Refactor struct transport_ops inlined into struct transport
> 3/5 Always obtain fetch-pack arguments from struct fetch_pack_args
>
> These three are basic code cleanups for small issues that
> bothered me about the original implementation of builtin-fetch.
> Now is just as good of a time as any to cleanup the code and make
> it more maintainable. I think the overall total line count is
> reduced by these three patches.
All of these look right.
> * Ensure builtin-fetch honors {fetch,transfer}.unpackLimit
> * Fix memory leaks when disconnecting transport instances
>
> Fixes two known (but minor) outstanding bugs. At this point
> I do not know of any other bugs in builtin-fetch so I would
> really appreciate testing reports from other people, especially
> those whose uses cases might stray outside of my workflow. Hah,
> I did not tell you my workflow. ;-)
Looks good, but I didn't really check over them.
-Daniel
*This .sig left intentionally blank*
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/5] Yet another builtin-fetch round
2007-09-20 2:40 ` Daniel Barkalow
@ 2007-09-20 4:08 ` Junio C Hamano
2007-09-20 5:09 ` Junio C Hamano
0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2007-09-20 4:08 UTC (permalink / raw)
To: Daniel Barkalow; +Cc: Shawn O. Pearce, git
Daniel Barkalow <barkalow@iabervon.org> writes:
> On Wed, 19 Sep 2007, Shawn O. Pearce wrote:
>
>> Another short series for db/fetch-pack, still in pu. Aside from
>> optimizing the pipeline on the native transport (so we only invoke
>> the remote process we need once vs. twice) I'm actually now quite
>> comfortable with this whole series and think it is ready for next.
>
> While it's still in pu, should these series of corrections be amended into
> the original series (for the ones that correct new code)? Most of the
> before-fixing states aren't worth saving as project history.
Yeah, I was wondering if that is a sane thing to do. It is
merely additional work to arrive at the same tree state, but
might be a good investment in the longer term.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/5] Yet another builtin-fetch round
2007-09-20 4:08 ` Junio C Hamano
@ 2007-09-20 5:09 ` Junio C Hamano
0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2007-09-20 5:09 UTC (permalink / raw)
To: Daniel Barkalow; +Cc: Shawn O. Pearce, git
Junio C Hamano <gitster@pobox.com> writes:
> Daniel Barkalow <barkalow@iabervon.org> writes:
>
>> On Wed, 19 Sep 2007, Shawn O. Pearce wrote:
>>
>>> Another short series for db/fetch-pack, still in pu. Aside from
>>> optimizing the pipeline on the native transport (so we only invoke
>>> the remote process we need once vs. twice) I'm actually now quite
>>> comfortable with this whole series and think it is ready for next.
>>
>> While it's still in pu, should these series of corrections be amended into
>> the original series (for the ones that correct new code)? Most of the
>> before-fixing states aren't worth saving as project history.
>
> Yeah, I was wondering if that is a sane thing to do. It is
> merely additional work to arrive at the same tree state, but
> might be a good investment in the longer term.
Heh, I did not realize that they are now all part of 'next' so
that's moot.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-20 5:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 4:49 [PATCH 0/5] Yet another builtin-fetch round Shawn O. Pearce
2007-09-20 2:40 ` Daniel Barkalow
2007-09-20 4:08 ` Junio C Hamano
2007-09-20 5:09 ` Junio C Hamano
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).