Christoph Hellwig 65f1eaeac0 [XFS] add helpers for addressing entities inside a btree block
Add new helpers in xfs_btree.c to find the record, key and block pointer
entries inside a btree block. To implement this genericly the
->get_maxrecs methods and two new xfs_btree_ops entries for the key and
record sizes are used. Also add a big comment describing how the
addressing inside a btree block works.

Note that these helpers are unused until users are introduced in the next
patches and this patch will thus cause some harmless compiler warnings.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32189a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
2008-10-30 16:55:34 +11:00
..
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-10-30 16:55:13 +11:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-02-07 16:46:39 +11:00
2007-07-14 15:28:50 +10:00
2008-08-13 16:07:53 +10:00
2008-07-28 16:58:35 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:59:25 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:59:09 +10:00
2008-10-30 16:55:13 +11:00
2008-10-30 16:55:13 +11:00
2008-08-13 16:49:32 +10:00
2008-10-10 11:08:07 -07:00
2008-08-13 16:49:32 +10:00
2008-02-07 16:47:15 +11:00
2008-08-13 16:22:40 +10:00
2008-10-30 16:55:13 +11:00