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-2714 hsm: limit MDT-side allocations for HSM RPCs
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_internal.h
diff --git
a/lustre/ofd/ofd_internal.h
b/lustre/ofd/ofd_internal.h
index
28c7d18
..
29c9208
100644
(file)
--- a/
lustre/ofd/ofd_internal.h
+++ b/
lustre/ofd/ofd_internal.h
@@
-107,8
+107,7
@@
static inline void ofd_counter_incr(struct obd_export *exp, int opcode,
struct ofd_seq {
cfs_list_t os_list;
struct ofd_seq {
cfs_list_t os_list;
- obd_id os_last_oid;
- obd_seq os_seq;
+ struct ost_id os_oi;
spinlock_t os_last_oid_lock;
struct mutex os_create_lock;
cfs_atomic_t os_refc;
spinlock_t os_last_oid_lock;
struct mutex os_create_lock;
cfs_atomic_t os_refc;
@@
-116,6
+115,9
@@
struct ofd_seq {
unsigned long os_destroys_in_progress:1;
};
unsigned long os_destroys_in_progress:1;
};
+#define os_seq os_oi.oi_seq
+#define os_last_oid os_oi.oi_id
+
struct ofd_device {
struct dt_device ofd_dt_dev;
struct dt_device *ofd_osd;
struct ofd_device {
struct dt_device ofd_dt_dev;
struct dt_device *ofd_osd;