Whamcloud - gitweb
LU-8497 osp: handle remote -ENOMEM from osp_send_update_req() 83/30083/2
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 14 Nov 2017 18:23:28 +0000 (12:23 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 1 Dec 2017 05:16:40 +0000 (05:16 +0000)
commitcef8983c8b5bf51b58df23a779769cc4b8ca8db5
tree42697f732126720f14903beff54b363e0c47f750
parenta430c3376c6b08d2264d4e0787e5403445f1bb7a
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().

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