* [PATCH 00/21] btree cleanups and unification
@ 2008-07-29 19:30 Christoph Hellwig
2008-07-30 0:53 ` Dave Chinner
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2008-07-29 19:30 UTC (permalink / raw)
To: xfs
This is the full btree unficiation based on Dave's initial patches plus
various cleanups. This second versions post now contains the complete
btree refactoring, and passes XFSQA.
The two first patches from the first round have been merged, so they are
not included anymore. In the reposted patches not much has changed,
only the readahead helpers have been renamed and the tracing infrastructure
has been improved a little.
The real news is the missing btree operations, including all the hairy
ones. These have been reimplemented looking at the three original
btrees and Daves code, in doubt going with the former. That means the
small helpers to insert/remove/move records are gone now in favour of
following the original code more closely. This fixed the one off error
showing up in the intial refactoring.
There's a lot of new comments and empty lines, so by diffstat the new
code isn't all that much smaller:
36 files changed, 6041 insertions(+), 7128 deletions(-)
but the (debug) binary modules is almost 15kb smaller:
text data bss dec hex filename
631577 4227 3092 638896 9bfb0 fs/xfs/xfs.ko.old
616929 4435 3124 624488 98768 fs/xfs/xfs.ko.btree
I have not run any benchmarks yet to see what the performance impact is,
and I still have some ideas to optimize the code.
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 00/21] btree cleanups and unification
2008-07-29 19:30 [PATCH 00/21] btree cleanups and unification Christoph Hellwig
@ 2008-07-30 0:53 ` Dave Chinner
2008-08-01 19:34 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2008-07-30 0:53 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
On Tue, Jul 29, 2008 at 09:30:00PM +0200, Christoph Hellwig wrote:
> This is the full btree unficiation based on Dave's initial patches plus
> various cleanups. This second versions post now contains the complete
> btree refactoring, and passes XFSQA.
Cool. Are the first few patches unchanged from the ones I reviewed
earlier?
> The real news is the missing btree operations, including all the hairy
> ones. These have been reimplemented looking at the three original
> btrees and Daves code, in doubt going with the former. That means the
> small helpers to insert/remove/move records are gone now in favour of
> following the original code more closely. This fixed the one off error
> showing up in the intial refactoring.
I'll have a close look at this ;)
> There's a lot of new comments and empty lines, so by diffstat the new
> code isn't all that much smaller:
>
> 36 files changed, 6041 insertions(+), 7128 deletions(-)
'bout the same as my original change series...
> but the (debug) binary modules is almost 15kb smaller:
>
> text data bss dec hex filename
> 631577 4227 3092 638896 9bfb0 fs/xfs/xfs.ko.old
> 616929 4435 3124 624488 98768 fs/xfs/xfs.ko.btree
And again, roughly the same. The difference will really be seen
when we implement new btrees.....
Cheers,,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 00/21] btree cleanups and unification
2008-07-30 0:53 ` Dave Chinner
@ 2008-08-01 19:34 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2008-08-01 19:34 UTC (permalink / raw)
To: Christoph Hellwig, xfs
On Wed, Jul 30, 2008 at 10:53:39AM +1000, Dave Chinner wrote:
> On Tue, Jul 29, 2008 at 09:30:00PM +0200, Christoph Hellwig wrote:
> > This is the full btree unficiation based on Dave's initial patches plus
> > various cleanups. This second versions post now contains the complete
> > btree refactoring, and passes XFSQA.
>
> Cool. Are the first few patches unchanged from the ones I reviewed
> earlier?
As mentioned below only the trace and readahead patches changed a little
bit.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-01 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 19:30 [PATCH 00/21] btree cleanups and unification Christoph Hellwig
2008-07-30 0:53 ` Dave Chinner
2008-08-01 19:34 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox