]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: osd_request_timeout option
authorIlya Dryomov <idryomov@gmail.com>
Sun, 12 Feb 2017 16:11:07 +0000 (17:11 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 Mar 2017 13:30:38 +0000 (14:30 +0100)
commitae3b30ff994348405bc0cdd27f1e87735ff09bae
treeb96359d499e8f222f64532f9722a18678ca6d4b5
parentc787eef559af546441e2c7945a26ba0b965bfc5d
libceph: osd_request_timeout option

osd_request_timeout specifies how many seconds to wait for a response
from OSDs before returning -ETIMEDOUT from an OSD request.  0 (default)
means no limit.

osd_request_timeout is osdkeepalive-precise -- in-flight requests are
swept through every osdkeepalive seconds.  With ack vs commit behaviour
gone, abort_request() is really simple.

This is based on a patch from Artur Molchanov <artur.molchanov@synesis.ru>.

Tested-by: Artur Molchanov <artur.molchanov@synesis.ru>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
include/linux/ceph/libceph.h
include/linux/ceph/osd_client.h
net/ceph/ceph_common.c
net/ceph/osd_client.c