Description
Kernel version 5 is already on some customers and the new amount of lines is 20.
At least this piece of code should be reviewed and changed:
sub parse_diskstats_line { my ( $self, $line, $block_size ) = @_; # linux kernel source => Documentation/iostats.txt # 2.6+ => 14 fields # 4.18+ => 18 fields my @dev_stats = split ' ', $line; return unless @dev_stats == 14 or @dev_stats == 18;