Whamcloud - gitweb
LU-16750 tune2fs: add "-E iops" to set/clear IOPS groups 91/52091/4
authorBobi Jam <bobijam@whamcloud.com>
Fri, 25 Aug 2023 04:00:52 +0000 (12:00 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 31 Aug 2023 17:36:22 +0000 (17:36 +0000)
commita59ac3441448d61d66880e2e5329585191c98716
tree123f0f9607a02893651459a7cfb52b1a0f053400
parent99deb0b3c7ef170d02c6992751a4116536140fa5
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