Bug 1178133 - removing level 0 qgroup causes 'btrfs subvolume show' to fail
Summary: removing level 0 qgroup causes 'btrfs subvolume show' to fail
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: David Sterba
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 13:55 UTC by Arvin Schnell
Modified: 2020-11-04 13:04 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvin Schnell 2020-10-26 13:55:10 UTC
Removing the level 0 qgroup for a subvolume causes 'btrfs subvolume show'
to fail for the corresponding subvolume.

# btrfs subvolume show /test
/
        Name:                   <FS_TREE>
        UUID:                   e18cd7d4-0441-4d18-b740-348d246bad83
        Parent UUID:            -
        Received UUID:          -
        Creation time:          2020-10-25 07:59:01 +0100
        Subvolume ID:           5
        Generation:             117
        Gen at creation:        0
        Parent ID:              0
        Top level ID:           0
        Flags:                  -
        Snapshot(s):
        Quota group:            0/5
          Limit referenced:     -
          Limit exclusive:      -
          Usage referenced:     16.00KiB
          Usage exclusive:      16.00KiB

# btrfs qgroup destroy 0/5 /test

# btrfs subvolume show /test
/
        Name:                   <FS_TREE>
        UUID:                   e18cd7d4-0441-4d18-b740-348d246bad83
        Parent UUID:            -
        Received UUID:          -
        Creation time:          2020-10-25 07:59:01 +0100
        Subvolume ID:           5
        Generation:             117
        Gen at creation:        0
        Parent ID:              0
        Top level ID:           0
        Flags:                  -
        Snapshot(s):
ERROR: quota query failed: Success