Re: [PATCH v2] loop: Fix missing discard support when using LOOP_CONFIGURE
From: Jens Axboe
Date: Fri Jun 18 2021 - 10:53:06 EST
On 6/18/21 5:51 AM, Kristian Klausen wrote:
> Without calling loop_config_discard() the discard flag and parameters
> aren't set/updated for the loop device and worst-case they could
> indicate discard support when it isn't the case (ex: if the
> LOOP_SET_STATUS ioctl was used with a different file prior to
> LOOP_CONFIGURE).
Applied, thanks.
--
Jens Axboe