summaryrefslogtreecommitdiff
path: root/block/blk-stat.h
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2022-03-01 04:16:10 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-07 16:04:56 +0300
commit45f06eac30e5abebecc66e41e7c89d5b4413bac1 (patch)
tree7b8c841189ba6255f91130bac7c51bcc35c90cab /block/blk-stat.h
parentb903737bc522e0ef3f45a2a60c364ff547572c9b (diff)
downloadlinux-45f06eac30e5abebecc66e41e7c89d5b4413bac1.tar.xz
powerpc/pseries/vas: Add 'update_total_credits' entry for QoS capabilities
pseries supports two types of credits - Default (uses normal priority FIFO) and Qality of service (QoS uses high priority FIFO). The user decides the number of QoS credits and sets this value with HMC interface. The total credits for QoS capabilities can be changed dynamically with HMC interface which invokes drmgr to communicate to the kernel. This patch creats 'update_total_credits' entry for QoS capabilities so that drmgr command can write the new target QoS credits in sysfs. Instead of using this value, the kernel gets the new QoS capabilities from the hypervisor whenever update_total_credits is updated to make sure sync with the QoS target credits in the hypervisor. Signed-off-by: Haren Myneni <haren@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/b01ef31a0f964686d00243e7de7f09c73c07e69e.camel@linux.ibm.com
Diffstat (limited to 'block/blk-stat.h')
0 files changed, 0 insertions, 0 deletions