summaryrefslogtreecommitdiffstats
path: root/atasmart.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-03-02 09:58:59 +0100
committerLennart Poettering <lennart@poettering.net>2011-10-11 23:38:52 +0200
commit33742d6e2865e46f0675c84884799d6bfe68b49a (patch)
tree014324a23ac793f83ddcf2792523138927ac9b8e /atasmart.h
parent075ac78a8ba52632a46335e45bc02ae0c9736c15 (diff)
Speed up get_overall() and get_bad()
Instead of iterating through all attributes four times for an sk_disk_smart_get_overall() call, just do it once and store the results in SkDisk. This considerably speeds up libatasmart for common operations like smart_get_overall() and smart_get_bad(). https://bugs.freedesktop.org/show_bug.cgi?id=26834
Diffstat (limited to 'atasmart.h')
0 files changed, 0 insertions, 0 deletions