Re: [PATCH 1/2] ext4: Make mb_optimize_scan option work with set/unset mount cmd

From: Theodore Ts'o
Date: Sat Mar 12 2022 - 23:46:08 EST


On Tue, 8 Mar 2022 15:22:00 +0530, Ojaswin Mujoo wrote:
> After moving to the new mount API, mb_optimize_scan mount option
> handling was not working as expected due to the parsed value always
> being overwritten by default. Refactor and fix this to the expected
> behavior described below:
>
> * mb_optimize_scan=1 - On
> * mb_optimize_scan=0 - Off
> * mb_optimize_scan not passed - On if no. of BGs > threshold else off
> * Remounts retain previous value unless we explicitly pass the option
> with a new value
>
> [...]

Applied, thanks!

[1/2] ext4: Make mb_optimize_scan option work with set/unset mount cmd
commit: 27b38686a3bb601db48901dbc4e2fc5d77ffa2c1
[2/2] ext4: Make mb_optimize_scan performance mount option work with extents
commit: 077d0c2c78df6f7260cdd015a991327efa44d8ad

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