Re: [PATCH v2] f2fs: allow to change discard policy based on cached discard cmds

2021-03-11 Thread Chao Yu
On 2021/3/11 16:59, Sahitya Tummala wrote: With the default DPOLICY_BG discard thread is ioaware, which prevents the discard thread from issuing the discard commands. On low RAM setups, it is observed that these discard commands in the cache are consuming high memory. This patch aims to relax the

[PATCH v2] f2fs: allow to change discard policy based on cached discard cmds

2021-03-11 Thread Sahitya Tummala
With the default DPOLICY_BG discard thread is ioaware, which prevents the discard thread from issuing the discard commands. On low RAM setups, it is observed that these discard commands in the cache are consuming high memory. This patch aims to relax the memory pressure on the system due to f2fs pe