On Thu, Aug 30, 2018 at 11:31:48AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Make it so that we can actually store btree records in the inode > core (i.e. enable bb_level == 0) so that the rtrmapbt can do this. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> So this is so you don't need XFS_DINODE_FMT_RMAP_EXTENTS/BTREE inode fork types, right? i.e. there just XFS_DINODE_FMT_RMAP to indicate it's an rmap tree in the fork? Could this code be used by the data fork, too? Sure, we need to keep the on-disk fork format info the same, but we could use this to kill the special BMDR formatting code it currently uses, right? (just trying to get an idea of whether we'll have to maintain two bits of code that do essentially the same thing forever) Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx