Skip to contentSkip to conversation

xfs: add xfs_btree_check_lptr_disk

PATCH Nathan Scott 1 participant 1 message Jul 14, 2006 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi Christoph,

Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · Nathan Scott

Review

Quoted 3 lines
(quoted diff) +1 -1
-			if ((error = xfs_btree_check_lptr(cur, INT_GET(pp[i], ARCH_CONVERT), level))) {
+			if ((error = xfs_btree_check_lptr_disk(cur, pp, level))) {

This incorrectly changes the debug-only btree checking here, no?

Right, it should be pp[i], I'll resping the patch. I wonder why I

Don't worry about it - I've got it fixed here. I'm outta time for today, will merge it Monday - this and the rest look good.

Quoted 1 line
Quoted 1 line

INT_GET? Maybe static inline here for type checking? *shrug*.

Send an incremental on the rest of the previous series if you think this is better, and I'll merge it Monday too.

BTW, the xfs_bulkstat annotations overlapped with a bunch of tuning work I'd done in there (probably merge that next week too), and I'd noticed that the endian swizzling in there is all pointless - it's only an incore buffer of inode clusters... I've got this fixed in a patch that applies after your series (so I'll apply the sparse work there, but in the end it'll come back out - no matter).

cheers.

Signature · 1 line
Nathan