• Chris Mason's avatar
    Btrfs: Add support for online device removal · a061fc8d
    Chris Mason authored
    This required a few structural changes to the code that manages bdev pointers:
    
    The VFS super block now gets an anon-bdev instead of a pointer to the
    lowest bdev.  This allows us to avoid swapping the super block bdev pointer
    around at run time.
    
    The code to read in the super block no longer goes through the extent
    buffer interface.  Things got ugly keeping the mapping constant.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    a061fc8d
super.c 12.8 KB