Whamcloud - gitweb
LU-16750 tune2fs: add "-E iops" to set/clear IOPS groups
authorBobi Jam <bobijam@whamcloud.com>
Fri, 25 Aug 2023 04:00:52 +0000 (12:00 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Tue, 28 May 2024 05:53:20 +0000 (15:53 +1000)
commit3faf56ea488aeae0293c1867cab7e6f57634508f
tree52b1d778e6620f555c8fac8545ebf759bf9ccdfc
parentb29702b5a696765cdfcc57ffcf7c69e5fa07fc53
LU-16750 tune2fs: add "-E iops" to set/clear IOPS groups

Add an option to set/clear IOPS region of storage, for example:

-E iops=0-1024G,^4096-8192G

to set EXT4_BG_IOPS flag for block groups in 0 to 1024GiB and clear
the flag for those in 4096 to 8192GiB.

Change-Id: I52b773f9ad877a01b07f2e63d4d7ef4931499446
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/tools/e2fsprogs/+/52091
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lib/ext2fs/ext2fs.h
lib/ext2fs/initialize.c
misc/mke2fs.c
misc/tune2fs.8.in
misc/tune2fs.c