On 25/02/2025 17:50, Darrick J. Wong wrote:
Can you please check this versus what you suggested inhttps://lore.kernel.org/linux- xfs/20250206215014.GX21808@frogsfrogsfrogs/#tAh, yeah, that ^^ is correct. This needs a better comment then: /* * Each remapping operation could cause a btree split, so in * the worst case that's one for each block. */ resblks = (end_fsb - offset_fsb) * XFS_NEXTENTADD_SPACE_RES(mp, 1, XFS_DATA_FORK);
ok, fine. Cheers