From: zab Date: Wed, 22 Jan 2003 19:46:49 +0000 (+0000) Subject: b=315/444: use PtlGet to implement osc->ost writes, again. This survived X-Git-Tag: v1_7_110~2^11~208 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c8a82417c11965b3fe20e497c38ca0bddad248d2;p=fs%2Flustre-release.git b=315/444: use PtlGet to implement osc->ost writes, again. This survived torture on dev/mdev. BA osts won't work against this change until they implement the ptlget writes. --- diff --git a/lustre/ptlbd/rpc.c b/lustre/ptlbd/rpc.c index 5ff5177..5d808a4 100644 --- a/lustre/ptlbd/rpc.c +++ b/lustre/ptlbd/rpc.c @@ -174,7 +174,7 @@ int ptlbd_write_put_req(struct ptlbd_obd *ptlbd, ptlbd_cmd_t cmd, } obd_brw_set_add(set, desc); - rc = ptlrpc_send_bulk(desc); + rc = ptlrpc_bulk_put(desc); /* if there's an error, no brw_finish called, just like * osc_brw_read */ @@ -258,7 +258,7 @@ int ptlbd_read_put_req(struct ptlbd_obd *ptlbd, ptlbd_cmd_t cmd, } /* XXX put in OBD_FAIL_CHECK for ptlbd? */ - rc = ptlrpc_register_bulk(desc); + rc = ptlrpc_register_bulk_put(desc); if (rc) GOTO(out_set, rc); @@ -391,7 +391,7 @@ static int ptlbd_put_write(struct ptlrpc_request *req) bulk->bp_buflen = request_niob[i].n_length; } - rc = ptlrpc_register_bulk(desc); + rc = ptlrpc_register_bulk_put(desc); if ( rc ) GOTO(out_desc, rc);