[PATCH] ext4: Get rid of unused DEFAULT_MB_OPTIMIZE_SCAN

Ojaswin Mujoo posted 1 patch 4 years, 3 months ago
fs/ext4/super.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] ext4: Get rid of unused DEFAULT_MB_OPTIMIZE_SCAN
Posted by Ojaswin Mujoo 4 years, 3 months ago
After recent changes to the mb_optimize_scan mount option
the DEFAULT_MB_OPTIMIZE_SCAN is no longer needed so get
rid of it.

Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
---

This patch should be applied after the following:
https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?h=dev&id=27b38686a3bb601db48901dbc4e2fc5d77ffa2c1

 fs/ext4/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index cd0547fabd79..550db5226b4f 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1862,7 +1862,6 @@ static const struct fs_parameter_spec ext4_param_specs[] = {
 };
 
 #define DEFAULT_JOURNAL_IOPRIO (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 3))
-#define DEFAULT_MB_OPTIMIZE_SCAN	(-1)
 
 static const char deprecated_msg[] =
 	"Mount option \"%s\" will be removed by %s\n"
-- 
2.27.0
Re: [PATCH] ext4: Get rid of unused DEFAULT_MB_OPTIMIZE_SCAN
Posted by Theodore Ts'o 4 years, 1 month ago
On Tue, 15 Mar 2022 17:14:54 +0530, Ojaswin Mujoo wrote:
> After recent changes to the mb_optimize_scan mount option
> the DEFAULT_MB_OPTIMIZE_SCAN is no longer needed so get
> rid of it.
> 
> 

Applied, thanks!

[1/1] ext4: Get rid of unused DEFAULT_MB_OPTIMIZE_SCAN
      commit: 7e0d0d44001506bc42932b5e37baaab84f0397cf

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>
Re: [PATCH] ext4: Get rid of unused DEFAULT_MB_OPTIMIZE_SCAN
Posted by Ritesh Harjani 4 years, 3 months ago
On 22/03/15 05:14PM, Ojaswin Mujoo wrote:
> After recent changes to the mb_optimize_scan mount option
> the DEFAULT_MB_OPTIMIZE_SCAN is no longer needed so get
> rid of it.

Thanks for doing this. Looks good to me.
Feel free to add -

Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>