projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d509c9
)
ceph: osdtimeout=0 for now timeout
author
Sage Weil
<sage@newdream.net>
Wed, 21 Apr 2010 18:09:38 +0000
(11:09 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 17 May 2010 22:25:22 +0000
(15:25 -0700)
Allow the osd reset timeout to be disabled.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/osd_client.c
b/fs/ceph/osd_client.c
index b81e6f97010e087548795c38b84b8635c66bb8f0..97a3a57fe8cd003c3a5bd2c15a5b80d6077adbaa 100644
(file)
--- a/
fs/ceph/osd_client.c
+++ b/
fs/ceph/osd_client.c
@@
-715,7
+715,7
@@
static void handle_timeout(struct work_struct *work)
* should mark the osd as failed and we should find out about
* 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,
r_req_lru_item);