/* List of osp_update_request_sub */
struct list_head our_req_list;
+ int our_req_nr;
+ int our_update_nr;
struct list_head our_cb_items;
struct osp_thandle *our_th;
/* linked to the list(ou_list) in osp_updates */
struct list_head our_list;
+ __u32 our_batchid;
__u32 our_req_sent:1;
};
} else { \
if (ret == 0) { \
ours->ours_req->ourq_count++; \
+ (our)->our_update_nr++; \
+ object_update->ou_batchid = \
+ (our)->our_batchid;\
object_update->ou_flags |= \
- update->our_flags; \
+ (our)->our_flags; \
} \
break; \
} \
/* osp_trans.c */
int osp_insert_async_request(const struct lu_env *env, enum update_type op,
struct osp_object *obj, int count, __u16 *lens,
- const void **bufs, void *data,
+ const void **bufs, void *data, __u32 repsize,
osp_update_interpreter_t interpreter);
int osp_unplug_async_request(const struct lu_env *env,