Re: [PATCH] btrfs: Test proper interaction between skip_balance and paused balance

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




On 28.10.21 г. 12:01, Filipe Manana wrote:
> On Wed, Oct 27, 2021 at 10:25 PM Nikolay Borisov <nborisov@xxxxxxxx> wrote:

<snip>

>> +if [[ ! -e /sys/fs/btrfs/$uuid/exclusive_operation ]]; then
>> +       _notrun "Requires btrfs exclusive operation support"
>> +fi
> 
> Why is it required to have the sysfs export file for the exclusive operations?
> The test doesn't use the file at all, and exclusive operations exist
> for many years, unlike the sysfs file which is recent.

Because the report mentioned the following error message being printed:

ERROR: unable to start device add, another exclusive operation 'balance'
in progress

And this comes from check_running_fs_exclop which got added as part of
the sysfs interface for exclusive ops.

> 

<snip>



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

  Powered by Linux