From: david_knierim@earthlink.net (David Knierim)
To: lm-sensors@vger.kernel.org
Subject: Data block transactions fail on i2c-i801 controller?
Date: Thu, 19 May 2005 06:25:28 +0000 [thread overview]
Message-ID: <41DAF265.6090806@earthlink.net> (raw)
In-Reply-To: <13938324.1095712833883.JavaMail.root@scooter.psp.pas.earthlink.net>
Mark M. Hoffman wrote:
> Hi MDS, David:
>
> * Mark D. Studebaker <mds4@verizon.net> [2004-12-07 10:14:54 -0500]:
>
>>wow, a week turned into 2 1/2 months :)
>>sorry for the delay.
>>
>>There is no problem in the i801 block code.
>>The bug is in the lm93 driver.
>>There is no check for success in lm93_read_block().
>>Therefore every block transaction is called 5 times (MAX_RETRIES).
>>What should have been 9 transactions turned into 45.
>>Rather obvious from the logs (which are still at the link David posted -
>>thanks David).
>>I'll fix lm93.
>
>
> Yikes.
>
> Yes it is obvious. I'm eating my foot as I type this... or as my boss would
> say, working on a case of athlete's tongue. :) I'm sorry about that Mark -
> thanks for fixing it.
>
> David: please let us know how that works out when you get the chance.
>
> Regards,
>
I finally got a chance to look at this. The transactions are now much
faster. Previously, when running the lm93 without block transfers:
# time sensors lm93-i2c-0-2e
real 0m1.343s
user 0m0.000s
sys 0m0.000s
Previously, running the same command with block transfers took almost 11
seconds.
Now when run with block transfers:
# time sensors lm93-i2c-0-2e
real 0m0.508s
user 0m0.000s
sys 0m0.510s
I haven't had a chance to run it for an extended time to see if there
are any reliability issues.
Thanks for fixing this!
David
prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 Data block transactions fail on i2c-i801 controller? David Knierim
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` David Knierim
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` David Knierim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41DAF265.6090806@earthlink.net \
--to=david_knierim@earthlink.net \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.