]> git.baikalelectronics.ru Git - kernel.git/commit
blk-throttle: Define readable macros instead of static variables
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Mon, 7 Sep 2020 08:10:15 +0000 (16:10 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Sep 2020 01:36:54 +0000 (19:36 -0600)
commitfc1c9802c3e7e4399deaa3c7265548422c572e78
treee10a57b5c114f92c90ff32e0ab67a3bae3accd15
parentf00204609f6f02dc2ce5dfb1e97944dd8379d544
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>
block/blk-throttle.c