* GPL HEADER END
*/
/*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2014, Intel Corporation.
*/
/*
* lustre/target/tgt_internal.h
extern int (*tgt_lfsck_in_notify)(const struct lu_env *env,
struct dt_device *key,
- struct lfsck_request *lr);
+ struct lfsck_request *lr,
+ struct thandle *th);
struct tx_arg;
typedef int (*tx_exec_func_t)(const struct lu_env *env, struct thandle *th,
int index;
union {
struct {
- const struct dt_rec *rec;
+ struct dt_insert_rec rec;
const struct dt_key *key;
} insert;
struct {
} update;
} tti_u;
struct lfsck_request tti_lr;
+ struct dt_insert_rec tti_rec;
};
extern struct lu_context_key tgt_thread_key;
#define out_tx_ref_del(info, obj, th, reply, idx) \
__out_tx_ref_del(info, obj, th, reply, idx, __FILE__, __LINE__)
-#define out_tx_index_insert(info, obj, th, name, fid, reply, idx) \
- __out_tx_index_insert(info, obj, th, name, fid, reply, idx, \
+#define out_tx_index_insert(info, obj, rec, key, th, reply, idx) \
+ __out_tx_index_insert(info, obj, rec, key, th, reply, idx, \
__FILE__, __LINE__)
-#define out_tx_index_delete(info, obj, th, name, reply, idx) \
- __out_tx_index_delete(info, obj, th, name, reply, idx, \
+#define out_tx_index_delete(info, obj, key, th, reply, idx) \
+ __out_tx_index_delete(info, obj, key, th, reply, idx, \
__FILE__, __LINE__)
#define out_tx_destroy(info, obj, th, reply, idx) \