]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: remove 'osdtimeout' option
authorSage Weil <sage@inktank.com>
Wed, 28 Nov 2012 20:28:24 +0000 (12:28 -0800)
committerAlex Elder <elder@inktank.com>
Thu, 13 Dec 2012 14:13:06 +0000 (08:13 -0600)
commit0043dd0e8168fe3d65450e119be084f5a9a41c26
treeb191a3640990e4b7cc13b2db423449b90086f71b
parent4c5308cb47b7742ce3ca3cf3996b48a1be0d7319
libceph: remove 'osdtimeout' option

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>
fs/ceph/super.c
include/linux/ceph/libceph.h
net/ceph/ceph_common.c
net/ceph/osd_client.c