Whamcloud - gitweb
LU-8497 osp: handle remote -ENOMEM from osp_send_update_req() 54/30354/2
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 14 Nov 2017 18:23:28 +0000 (12:23 -0600)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 6 Dec 2017 01:25:20 +0000 (01:25 +0000)
commit2f7cf70d70db2e3a801644f6d7eaeb09311e322b
tree18a14f5360c3eaea25ef76d0b78ea6271083996e
parent6ec70b0e11d407156fa3057a8c15c293bc7b2480
LU-8497 osp: handle remote -ENOMEM from osp_send_update_req()

In osp_send_update_req() detect an unsent request by checking
rq_queued_time == 0 rather than rq_set == NULL, which is always true
after returning from ptlrpc_queue_wait().

Lustre-change: https://review.whamcloud.com/30083
Lustre-commit: cef8983c8b5bf51b58df23a779769cc4b8ca8db5

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ief959b71600157a9c3521775cc06994326e50c51
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30354
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/osp/osp_trans.c