desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #143650
[Bug 1507003] [NEW] Too fast "housekeeping" prevents harddrive from sleeping
Public bug reported:
udisks2 has a function called housekeeping where regular stuff is done.
In example refreshing SMART data from attached drives. Currently it has
a timeout of ten minutes. The old udisks(1) was more relax and waited
thirty minutes. Therefore I have to let my drives sleep after ten
minutes at maximum before SMART data is fetched. Usually this is a bit
fast. I´m unsure whether desktop drives like these tight cycles as
laptop devices do.
If anybody thinks like me, patching is easy. Have a look at
"udiskslinuxprovider.c" in the src folder. Around line 470 is the
"housekeeping timeout" set to 10*60 seconds. Reset to a value you like
and recompile the package. I guess it won´t harm, if you update SMART
every thirty minutes instead of ten :)
Description: Ubuntu 14.04.3 LTS
Release: 14.04
udisks2:
Installiert: 2.1.3-1ubuntu0.1
Installationskandidat: 2.1.3-1ubuntu0.1
Paket-Pinning: 2.1.3-1ubuntu0.1
Versionstabelle:
*** 2.1.3-1ubuntu0.1 1001
500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.1.3-1 1001
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
** Affects: udisks2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1507003
Title:
Too fast "housekeeping" prevents harddrive from sleeping
Status in udisks2 package in Ubuntu:
New
Bug description:
udisks2 has a function called housekeeping where regular stuff is
done. In example refreshing SMART data from attached drives. Currently
it has a timeout of ten minutes. The old udisks(1) was more relax and
waited thirty minutes. Therefore I have to let my drives sleep after
ten minutes at maximum before SMART data is fetched. Usually this is a
bit fast. I´m unsure whether desktop drives like these tight cycles as
laptop devices do.
If anybody thinks like me, patching is easy. Have a look at
"udiskslinuxprovider.c" in the src folder. Around line 470 is the
"housekeeping timeout" set to 10*60 seconds. Reset to a value you like
and recompile the package. I guess it won´t harm, if you update SMART
every thirty minutes instead of ten :)
Description: Ubuntu 14.04.3 LTS
Release: 14.04
udisks2:
Installiert: 2.1.3-1ubuntu0.1
Installationskandidat: 2.1.3-1ubuntu0.1
Paket-Pinning: 2.1.3-1ubuntu0.1
Versionstabelle:
*** 2.1.3-1ubuntu0.1 1001
500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.1.3-1 1001
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1507003/+subscriptions
Follow ups