| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH,RFC] Factor some btree code.... |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Thu, 22 Nov 2007 08:42:08 +1100 |
| Cc: | David Chinner <dgc@xxxxxxx>, xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20071121152006.GD8454@xxxxxxxxxxxxx> |
| References: | <20071106091836.GV995458@xxxxxxx> <20071121152006.GD8454@xxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Wed, Nov 21, 2007 at 03:20:06PM +0000, Christoph Hellwig wrote: > > I like this. But I think a single set of xfs_btree_ops would be a lot > more readable. Also I'm not sure we actually need all these ops, e.g. > instead of .buf_to_block we could always just call XFS_BUF_PTR directly. I've already converted it to a single ops structure and cut out quite a few ops that could be generic (sibling ops, checking ops, numrecs ops, etc). I opted for moving them all over initially and now I'm culling the common stuff. .buf_to_block is another one that can go, .buf_to_ptr can be done generically, too.... I'm still flshing bugs out, so i haven't posted an update. When I get it to pass xfsqa I'll send out an updated patchset. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] bulkstat fixups, David Chinner |
|---|---|
| Next by Date: | [PATCH 0/9]: Various XFS inode clustering improvements, David Chinner |
| Previous by Thread: | Re: [PATCH,RFC] Factor some btree code...., Christoph Hellwig |
| Next by Thread: | 7Tb XFS partition lost on reboot, Amandine AUPETIT |
| Indexes: | [Date] [Thread] [Top] [All Lists] |