Re: [PATCH v2] Btrfs: add debugfs file to test transaction aborts

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

 



On Wed, Apr 1, 2015 at 7:41 AM, Anand Jain <Anand.Jain@xxxxxxxxxx> wrote:
>
>
>> +bool debugfs_abort_transaction(struct btrfs_fs_info *fs_info)
>> +{
>> +       if (!btrfs_debugfs_label_trans_abort[0])
>> +               return false;
>> +       return strcmp(fs_info->super_copy->label,
>> +                     btrfs_debugfs_label_trans_abort) == 0;
>> +}
>> +
>
>
>  label is not mandatory to be present.
>
>  did I missing something ?

Yes. It's intentional.
This is for testing purposes only, not for users.

thanks

>
> Thanks, Anand
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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