Re: [PATCH] f2fs: introduce nosmall_discard mount option

From: Christoph Hellwig
Date: Wed Aug 04 2021 - 09:52:58 EST


On Fri, Jul 30, 2021 at 06:05:30PM +0800, Chao Yu wrote:
> This patch introduces a new mountoption "nosmall_discard" to support
> disabling small discard functionality, note that the mountoption can not
> be removed by remount() due to related metadata should always be
> initialized during mount().

Why does this need an option? It should be enable IFF and only IFF a
SMR drive is detected.