Re: [PATCH] ext4: clear DISCARD flag if device does not support discard

From: Theodore Ts'o
Date: Mon Mar 17 2025 - 23:42:20 EST



On Tue, 11 Mar 2025 10:13:10 +0800, Diangang Li wrote:
> commit 79add3a3f795e ("ext4: notify when discard is not supported")
> noted that keeping the DISCARD flag is for possibility that the underlying
> device might change in future even without file system remount. However,
> this scenario has rarely occurred in practice on the device side. Even if
> it does occur, it can be resolved with remount. Clearing the DISCARD flag
> not only prevents confusion caused by mount options but also avoids
> sending unnecessary discard commands.
>
> [...]

Applied, thanks!

[1/1] ext4: clear DISCARD flag if device does not support discard
commit: 1c81b7fbcea9ba75f059dcd1ed4c94543593378f

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>