D23704: Allow tmpfs in ksysguard disk space monitor

Jiří Paleček noreply at phabricator.kde.org
Tue Sep 3 15:23:20 BST 2019


jpalecek created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
jpalecek requested review of this revision.

REVISION SUMMARY
  As tmpfs mounts are more widely used for shared memory in browsers like Chromium and Firefox, there is a need for more and more space in such filesystems, with grave circumstances when the space is exhausted - it causes instability, crashes or black display in both of these browsers. Given this importance, I suggest tmpfs should not be blacklisted from disk space reporting in ksysguardd. Because tmpfs "devices" don't start with a /, it is needed to obviate the test for "real" device names as well.

TEST PLAN
  Open ksysguard
   Check that sensor Disk Space/dev/shm/... is there
   Check that it shows partly full when you have firefox running

REPOSITORY
  R106 KSysguard

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23704

AFFECTED FILES
  ksysguardd/Linux/diskstat.c

To: jpalecek
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190903/bb7b0876/attachment-0001.html>


More information about the Plasma-devel mailing list