Message ID | 1525682645-30510-8-git-send-email-dongsheng.yang@easystack.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index a2e2c36..9c064c2 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -4907,6 +4907,8 @@ int ceph_osdc_call(struct ceph_osd_client *osdc, ceph_oid_copy(&req->r_base_oid, oid); ceph_oloc_copy(&req->r_base_oloc, oloc); req->r_flags = flags; + if (req->r_flags & CEPH_OSD_FLAG_WRITE) + req->r_abort_on_full = true; ret = ceph_osdc_alloc_messages(req, GFP_NOIO); if (ret)
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn> --- net/ceph/osd_client.c | 2 ++ 1 file changed, 2 insertions(+)