]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libceph: remove 'osdtimeout' option
authorSage Weil <sage@inktank.com>
Wed, 28 Nov 2012 20:28:24 +0000 (12:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:48 +0000 (08:46 -0800)
commit46ed4fbffa67c423be6233a01e2fdf220ca8f5f0
tree48ce4060a17c80498dfa7faba7169eaf8d890d08
parentb624d7561efd53d4854960c82e71acb5fb4dd24b
libceph: remove 'osdtimeout' option

(cherry picked from commit 83aff95eb9d60aff5497e9f44a2ae906b86d8e88)

This would reset a connection with any OSD that had an outstanding
request that was taking more than N seconds.  The idea was that if the
OSD was buggy, the client could compensate by resending the request.

In reality, this only served to hide server bugs, and we haven't
actually seen such a bug in quite a while.  Moreover, the userspace
client code never did this.

More importantly, often the request is taking a long time because the
OSD is trying to recover, or overloaded, and killing the connection
and retrying would only make the situation worse by giving the OSD
more work to do.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/super.c
include/linux/ceph/libceph.h
net/ceph/ceph_common.c
net/ceph/osd_client.c