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>
char rawbuf[MAX_IOC_BUFLEN], *buf = rawbuf;
struct obd_ioctl_data data;
struct timeval next_time;
- __u64 count = 1, next_count, base_id = 0;
+ __u64 count = 1, next_count, base_id = 1;
int verbose = 1, mode = 0100644, rc = 0, i, valid_lsm = 0;
char *end;