commit | e675df2adc2f0b8cbc0c64111d55b69f7253cbed | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linux.alibaba.com> | Mon Sep 07 16:10:15 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 14 19:36:54 2020 -0600 |
tree | e10a57b5c114f92c90ff32e0ab67a3bae3accd15 | |
parent | ff8b22c0f258c936460b436f6d78ed49a3b2a4cf [diff] |
blk-throttle: Define readable macros instead of static variables The 'throtl_grp_quantum' and 'throtl_quantum' are both read-only variables, thus better to use readable macros instead of static variables, which can also save some spaces for .bss area. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>