* [PATCH] libceph: Unregister request if __map_request failed.
@ 2013-07-12 11:25 ` majianpeng
0 siblings, 0 replies; 2+ messages in thread
From: majianpeng @ 2013-07-12 11:25 UTC (permalink / raw)
To: sage; +Cc: ceph-devel, linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 803 bytes --]
In func ceph_osdc_start_request, if __mape_request failed, it should
call __unregister_request avoid cause bugs, etc memleak, umount fs
failed.
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
---
net/ceph/osd_client.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index dd47889..6356539 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -2130,6 +2130,7 @@ int ceph_osdc_start_request(struct ceph_osd_client *osdc,
" will retry %lld\n", req->r_tid);
rc = 0;
}
+ __unregister_request(osdc, req);
goto out_unlock;
}
if (req->r_osd == NULL) {
--
1.8.1.2
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] libceph: Unregister request if __map_request failed.
@ 2013-07-12 11:25 ` majianpeng
0 siblings, 0 replies; 2+ messages in thread
From: majianpeng @ 2013-07-12 11:25 UTC (permalink / raw)
To: sage; +Cc: ceph-devel, linux-kernel
In func ceph_osdc_start_request, if __mape_request failed, it should
call __unregister_request avoid cause bugs, etc memleak, umount fs
failed.
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
---
net/ceph/osd_client.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index dd47889..6356539 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -2130,6 +2130,7 @@ int ceph_osdc_start_request(struct ceph_osd_client *osdc,
" will retry %lld\n", req->r_tid);
rc = 0;
}
+ __unregister_request(osdc, req);
goto out_unlock;
}
if (req->r_osd == NULL) {
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-12 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 11:25 [PATCH] libceph: Unregister request if __map_request failed majianpeng
2013-07-12 11:25 ` majianpeng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.