On Wed, Mar 23, 2022 at 09:28:31AM +0800, Qu Wenruo wrote: > Not a big fan of extra parameters for a function which already had enough... > > And I always have a question on repair (aka read from extra copy). > > Can't we just make the repair part to be synchronous? I'll defer that to people who know the btrfs code better. This basically means we will block for a long time in the end_io workqueue, which could have adverse consequences. It would howerver simply a lot of things in a very nice way.