Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13456 ldlm: fix reprocessing of locks with more bits
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_lfsck.h
diff --git
a/lustre/include/lustre_lfsck.h
b/lustre/include/lustre_lfsck.h
index
8dabe50
..
64b0d55
100644
(file)
--- a/
lustre/include/lustre_lfsck.h
+++ b/
lustre/include/lustre_lfsck.h
@@
-20,7
+20,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright (c) 2013, 201
6
, Intel Corporation.
+ * Copyright (c) 2013, 201
7
, Intel Corporation.
*/
/*
* lustre/include/lustre_lfsck.h
*/
/*
* lustre/include/lustre_lfsck.h
@@
-33,7
+33,7
@@
#ifndef _LUSTRE_LFSCK_H
# define _LUSTRE_LFSCK_H
#ifndef _LUSTRE_LFSCK_H
# define _LUSTRE_LFSCK_H
-#include <lustre/lustre_lfsck_user.h>
+#include <
uapi/linux/
lustre/lustre_lfsck_user.h>
#include <lustre_dlm.h>
#include <lu_object.h>
#include <dt_object.h>
#include <lustre_dlm.h>
#include <lu_object.h>
#include <dt_object.h>
@@
-67,6
+67,12
@@
struct lfsck_req_local {
struct filter_fid lrl_ff_local;
};
struct filter_fid lrl_ff_local;
};
+struct lfsck_layout_dangling_key {
+ struct lu_fid lldk_fid;
+ __u32 lldk_comp_id;
+ __u32 lldk_ea_off;
+};
+
typedef int (*lfsck_out_notify)(const struct lu_env *env, void *data,
enum lfsck_events event);
typedef int (*lfsck_out_notify)(const struct lu_env *env, void *data,
enum lfsck_events event);
@@
-95,10
+101,10
@@
int lfsck_query(const struct lu_env *env, struct dt_device *key,
struct lfsck_request *req, struct lfsck_reply *rep,
struct lfsck_query *que);
struct lfsck_request *req, struct lfsck_reply *rep,
struct lfsck_query *que);
-int lfsck_get_speed(
struct seq_file *m
, struct dt_device *key);
+int lfsck_get_speed(
char *buf
, struct dt_device *key);
int lfsck_set_speed(struct dt_device *key, __u32 val);
int lfsck_set_speed(struct dt_device *key, __u32 val);
-int lfsck_get_windows(
struct seq_file *m
, struct dt_device *key);
-int lfsck_set_windows(struct dt_device *key, int val);
+int lfsck_get_windows(
char *buf
, struct dt_device *key);
+int lfsck_set_windows(struct dt_device *key,
unsigned
int val);
int lfsck_dump(struct seq_file *m, struct dt_device *key, enum lfsck_type type);
int lfsck_dump(struct seq_file *m, struct dt_device *key, enum lfsck_type type);
@@
-121,5
+127,4
@@
static inline bool lovea_slot_is_dummy(const struct lov_ost_data_v1 *obj)
return false;
}
return false;
}
-
#endif /* _LUSTRE_LFSCK_H */
#endif /* _LUSTRE_LFSCK_H */