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>
Fri, 17 Jan 2025 02:23:16 +0000 (13:23 +1100)
commitfad45fad4a937fa025dcad8c7700423ae24066cc
treeb2f56ae0fbcf887045c493fa80edadb22315a1c6
parent60e6b9185bdd784ba7003c5ca8ef2007387c9d21
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