On Wed, Jun 29, 2022 at 09:20:59AM +0800, Qu Wenruo wrote: > In fact, COW is not that special, even before btrfs or all the other > fses supporting COW, all those old fses has to do something like COW, > when they are writing into holes. > > What makes btrfs special is its csum, and in fact csum requires more > stable page status. > > If someone can modify a page without waiting for its writeback to > finish, btrfs csum can easily be stale and cause -EIO for future read. And the writepage time fixup does not help with this at all, as it just allocates the ordered extent at writepage time, long after the data has been modified.