Whamcloud - gitweb
LU-3187 obdecho: always set o_id non-zero
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 10 May 2013 20:22:10 +0000 (14:22 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 20 May 2013 18:13:36 +0000 (14:13 -0400)
commit2dc5cf8e1c0890b4d453fcb104c7818cba77c4fb
treee362c1dee8cb146a61c85c75a6e10dbef9697cf1
parent31e2d2301d182d872de26bc299cc8c1bed144944
LU-3187 obdecho: always set o_id non-zero

Always initialize the o_id field in obdecho requests so the server
doesn't get confused between o_id == 0 and f_seq == 0.  This isn't
strictly necessary for protocol correctness (the server assigns
the actual OID in the end), but makes life a bit easier for cross
compatibility with FID-on-OST.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ifc318333df97326fb33366cd9f06d33e3f5139bb
Reviewed-on: http://review.whamcloud.com/6319
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/obd.c