> On Dec 19, 2023, at 1:29 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote: > > On Tue, Dec 19, 2023 at 09:17:31PM +0000, Wengang Wang wrote: >> Hi Dave, >> Yes, the user space defrag works and satisfies my requirement (almost no change from your example code). > > That's good to know :) > >> Let me know if you want it in xfsprog. > > Yes, i think adding it as an xfs_spaceman command would be a good > way for this defrag feature to be maintained for anyone who has need > for it. > Got it. Will try it. Thanks, Wengang