Re: [PATCH 5/8] xfs_db: access arbitrary realtime blocks and extents

Christoph Hellwig
2024-10-28T08:38:50Z

> + ASSERT(typtab[TYP_DATA].typnm == TYP_DATA);
> + set_rt_cur(&typtab[TYP_DATA], XFS_FSB_TO_BB(mp, rtbno), blkbb,
> + DB_RING_ADD, NULL);

xfs_rtb_to_daddr?

> + rtbno = XFS_BB_TO_FSB(mp, iocur_top->off >> BBSHIFT);

xfs_daddr_to_rtb?