-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Whamcloud, Inc.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
struct lu_seq_range fti_rec;
struct lu_seq_range fti_lrange;
struct lu_seq_range fti_irange;
- struct txn_param fti_txn_param;
};
-struct thandle* fld_trans_start(struct lu_server_fld *fld,
- const struct lu_env *env, int credit);
+struct thandle *fld_trans_create(struct lu_server_fld *fld,
+ const struct lu_env *env);
+int fld_trans_start(struct lu_server_fld *fld,
+ const struct lu_env *env, struct thandle *th);
void fld_trans_stop(struct lu_server_fld *fld,
const struct lu_env *env, struct thandle* th);
+extern struct lu_context_key fld_thread_key;
+
int fld_index_init(struct lu_server_fld *fld,
const struct lu_env *env,
struct dt_device *dt);
}
extern cfs_proc_dir_entry_t *fld_type_proc_dir;
-
+extern struct file_operations fld_proc_seq_fops;
#endif /* __FLD_INTERNAL_H */