[PATCH 4/6] btrfs: Introduce 2 more members to struct btrfs_fs_devices

2018-10-30 Thread Nikolay Borisov
In order to gracefully handle split-brain scenario which are very unlikely, yet possible, while performing the FSID change I'm gonna need two more pieces of information: 1. The highest generation number among all devices registered to a particular btrfs_fs_devices 2. A boolean flag whether a

[PATCH 4/6] btrfs: Introduce 2 more members to struct btrfs_fs_devices

2018-10-11 Thread Nikolay Borisov
In order to gracefully handle split-brain scenario which are very unlikely, yet still possible while performing the FSID change I'm gonna need two more pieces of information: 1. The highes generation number among all devices registered to a particular btrfs_fs_devices 2. A boolean flag whether