Re: [PATCH 2/4] libata: Implement disk shock protection support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Valdis.Kletnieks
Date: Thursday, September 11, 2008 - 11:28 am

On Thu, 11 Sep 2008 15:01:00 +0200, Tejun Heo said:

Which is better, failing the write so the application *knows* there is a
problem, or letting the application proceed with a totally incorrect idea of
what the value is set to?

For instance, what happens if the program tries to set 100, it's silently
clamped to 10, and it then tries to set a timer for itself to '90% of the
value'?  It might be in for an unpleasant surprise when it finds out that
it's overshot by 81....
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] libata: Implement disk shock protection su ..., Valdis.Kletnieks, (Thu Sep 11, 11:28 am)
Re: [PATCH 2/4] libata: Implement disk shock protection su ..., Valdis.Kletnieks, (Fri Sep 12, 11:11 am)