Re: [PATCH v2 1/2] btrfs: avoid possible signal interruption for btrfs_drop_snapshot() on relocation tree

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

 




On 2020/7/9 下午7:05, David Sterba wrote:
> On Thu, Jul 09, 2020 at 04:33:32PM +0800, Qu Wenruo wrote:
> 
>> From the mentioned forced read-only, to later balance error due to half
>> dropped reloc trees.
>>
>> [FIX]
>> Fix this problem by using btrfs_join_transaction() if
>> btrfs_drop_snapshot() is called from relocation context.
>>
>> As btrfs_join_transaction() won't wait full tickets, it won't get
>> interrupted from signal.
> 
> Could you please rephrase the text above?
> 
How about this:

As btrfs_join_transaction() won't reserve new metadata space, it won't
get interrupted by signal at all.

Thanks,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux