From 5c58566a6a074c3a2a0d1751f2c896deccbd6cd7 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 31 Dec 2003 05:37:32 +0000 Subject: [PATCH] - send the lock value block over the wire in the "enqueue" reply - store it in the lock on the client - use the same struct for filter/llite (ost_lvb) - replace separate files with a single lock_desc in the reply - add some plumbing to ldlm_cli_create et al to pass LVB size down --- lustre/mdc/mdc_locks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 8fbe9b7..5f677c7 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -286,7 +286,7 @@ int mdc_enqueue(struct obd_export *exp, mdc_get_rpc_lock(obddev->u.cli.cl_rpc_lock, it); rc = ldlm_cli_enqueue(exp, req, obddev->obd_namespace, NULL, res_id, lock_type, NULL, 0, lock_mode, &flags, - cb_completion, cb_blocking, cb_data, lockh); + cb_completion, cb_blocking, cb_data, 0, lockh); mdc_put_rpc_lock(obddev->u.cli.cl_rpc_lock, it); /* Similarly, if we're going to replay this request, we don't want to -- 1.8.3.1