]> git.ipfire.org Git - thirdparty/collectd.git/commit
disk: add /proc/diskstats fields 15 to 20 in KERNEL_LINUX 4242/head
authorzzzyhtheonly <zyhtheonly@yeah.net>
Fri, 19 Jan 2024 08:51:17 +0000 (16:51 +0800)
committerzzzyhtheonly <zyhtheonly@yeah.net>
Mon, 22 Jan 2024 11:16:05 +0000 (19:16 +0800)
commitf625ab09959263d41f36ce1437ee616000ff2908
tree2a9a52a3a83df1b13acd6efea75494911ddbb388
parent5dba56bbe7adb632bca38c23647d5dd414a40916
disk: add /proc/diskstats fields 15 to 20 in KERNEL_LINUX

Kernel 4.18+ appends four more fields for discard tracking putting
the total at 18.
Kernel 5.5+ appends two more fields for flush requests.
This patch makes collectd available for those fields.

Signed-off-by: tiozhang <zyhtheonly@yeah.net>
Signed-off-by: yutongzhou <timefly2010@gmail.com>
src/disk.c
src/types.db