Re: [PATCH 39/40] btrfs: pass private data end end_io handler to btrfs_repair_one_sector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux