On Fri, Dec 21, 2018 at 08:03:09AM +1100, Dave Chinner wrote: > Yes, I know it's not persistent, but do we care for always_cow mode? > Preallocation to prevent enospc is done just before the data is > written, and if we put it in the COW fork then it will mostly just > work and behave as expected for preventing ENOSPC on subsequent > writes. Preallocation to control data layout is largely irrelevant > to always_cow mode, so it really makes no difference to us if the > preallocation disappears when the inode is cycled out of cache.... I'll have to see if we can get the semantics for the right.