On Wed, Mar 27, 2024 at 11:06:00AM -0700, Darrick J. Wong wrote: > <nod> I think once we get to the rtgroups patchset then all we have to > do in __xfs_bunmapi is: > > if (XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK && > !xfs_has_rtgroups(mp)) > nexts = 1; > > and then the XFS_TRANS_RTBITMAP_LOCKED flag can go away? Probably. We could also try to do it now, but that's just yet another variable changing..