Re: [PATCH] btrfs: test fstrim after doing a device replace

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




On 23.09.20 г. 17:31 ч., fdmanana@xxxxxxxxxx wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
> 
> Test that after replacing a device, if we run fstrim against the filesystem
> we do not trim/discard allocated chunks in the new device. We verify that
> allocated chunks in the new device were not trim/discarded by mounting the
> new device only in degraded mode, as this is the easiest way to verify it.
> 
> This currently fails on btrfs (since kernel 5.2) and is fixed by a patch
> that has the following subject:
> 
>   "btrfs: fix filesystem corruption after a device replace"
> 
> Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux