[PATCH] block: round timeouts to 100ms instead of 1s

2015-07-23 Thread Spencer Baugh
From: Joern Engel Users can request timeouts as low as 1s. However, whatever the request timeout happens to be, we always round it up by up to 1s. So at the lower end the rounding doubles the user-requested timeout. Reduce the impact of rounding for small timeout values. Curious side note:

[PATCH] block: round timeouts to 100ms instead of 1s

2015-07-23 Thread Spencer Baugh
From: Joern Engel jo...@logfs.org Users can request timeouts as low as 1s. However, whatever the request timeout happens to be, we always round it up by up to 1s. So at the lower end the rounding doubles the user-requested timeout. Reduce the impact of rounding for small timeout values.