diskstats bug


JeffDwork

Recommended Posts

In both Buster and Focal 20.11.1 on helios64 commands directed to a disk increment fields in /proc/diskstats

This is incorrect and does not occur in the x86 version of xubuntu Focal.

 

Specifically (see https://www.kernel.org/doc/Documentation/iostats.txt for field descriptions.):

  Check Power Mode increments "number of reads completed"

  Smart Return Status, Smart Read Data, and Smart Read Log increment "number of reads completed" and "number of sectors read"

The smartd disk monitor uses these commands which makes the disk appear to be active to programs like hd-idle.

 

I hope this is the correct place to report this bug. 

 

Thanks,

Jeff

 

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

11 hours ago, JeffDwork said:

I hope this is the correct place to report this bug. 

 

From perspective of overall forum moderator, that occurred to me, too (although only as a workflow technicality).  In the end I think this is fine, as Kobol guys are also contributors, and have a self interest in fixing stuff in Armbian.  But we will see what they say.

Link to post
Share on other sites