Re: [PATCH v2] fstests: Verify that removed device has its superblocks deleted

2019-03-26 Thread Nikolay Borisov
On 25.03.19 г. 23:55 ч., Anand Jain wrote: > > > On 3/25/19 10:07 PM, Nikolay Borisov wrote: >> When a device is removed from a btrfs filesystem its superblock copies >> must be deleted. > > AFAIK this bug was fixed a long time back in the kernel. Is there any > newer fix in the kernel? No

Re: [PATCH v2] fstests: Verify that removed device has its superblocks deleted

2019-03-25 Thread Anand Jain
On 3/25/19 10:07 PM, Nikolay Borisov wrote: When a device is removed from a btrfs filesystem its superblock copies must be deleted. AFAIK this bug was fixed a long time back in the kernel. Is there any newer fix in the kernel? > This test ensures this is indeed the case. Signed-off-by:

[PATCH v2] fstests: Verify that removed device has its superblocks deleted

2019-03-25 Thread Nikolay Borisov
When a device is removed from a btrfs filesystem its superblock copies must be deleted. This test ensures this is indeed the case. Signed-off-by: Nikolay Borisov --- Changes since v1: * Use _scratch_dev_pool_(get|put) to ensure the test uses exactly 2 devices. * Explicitly use -draid0 -mrai