On Wed, Jun 12, 2019 at 11:05:42AM +0100, fdmanana@xxxxxxxxxx wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
> Fixes: 04216820fe83d5 ("Btrfs: fix race between fs trimming and block group remove/allocation")
> Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>
> ---
>
> NOTE: this applies only to a 5.2 kernel, although the problem exists in previous
> kernels starting from 3.19, due to recent changes in the 5.2 merge window
> that removed the fs_info->pending_chunks, a slightly different version of
> this patch is needed, one which locks and unlocks the chunk mutex inside
> the moved block.
Thanks, I'll add it to misc-5.2, the type of the fix qualifies for a
late rc, so I'll send it by the end of the week.
> Such patch version can be found here:
>
> https://www.dropbox.com/s/1sv0hd2xbsn9jrt/Btrfs-fix-race-between-block-group-removal-and-block.patch?dl=0
I'd prefer to get patches instead of links to dropbox. You can send more
patches in a series or as a reply to one of them and put the expected
target version to the subject to eg. like [PATCH for 5.2] or [PATCH for
<= 5.1] and put the note like the above with further details. Thanks.