Hi folks, These patches have been separated out of my big log patchset as standalone optimisations and fixes (hence the "v4" version) that was posted here: https://lore.kernel.org/linux-xfs/20210305051143.182133-1-david@xxxxxxxxxxxxx/T/#m2eceb42c20de51dccbf7d34a1e84f581d1c801cf These are the changes that are easy to untangle from that patchset to make it smaller and more manageable. All of the patches are unchanged since they were last posted for review (except for rebase noise). They pass fstests cleanly, and this posting is based on 5.12-rc3 + xfs for-next branch. Cheers, Dave.