Commit f26e681d authored by Sage Weil's avatar Sage Weil

ceph: osdtimeout=0 for now timeout

Allow the osd reset timeout to be disabled.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 0d509c94
...@@ -715,7 +715,7 @@ static void handle_timeout(struct work_struct *work) ...@@ -715,7 +715,7 @@ static void handle_timeout(struct work_struct *work)
* should mark the osd as failed and we should find out about * should mark the osd as failed and we should find out about
* it from an updated osd map. * it from an updated osd map.
*/ */
while (!list_empty(&osdc->req_lru)) { while (timeout && !list_empty(&osdc->req_lru)) {
req = list_entry(osdc->req_lru.next, struct ceph_osd_request, req = list_entry(osdc->req_lru.next, struct ceph_osd_request,
r_req_lru_item); r_req_lru_item);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment