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-8066 osd: migrate from proc to sysfs
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_internal.h
diff --git
a/lustre/ofd/ofd_internal.h
b/lustre/ofd/ofd_internal.h
index
794901e
..
c76124b
100644
(file)
--- a/
lustre/ofd/ofd_internal.h
+++ b/
lustre/ofd/ofd_internal.h
@@
-159,6
+159,10
@@
struct ofd_device {
struct ptlrpc_thread ofd_inconsistency_thread;
struct list_head ofd_inconsistency_list;
spinlock_t ofd_inconsistency_lock;
struct ptlrpc_thread ofd_inconsistency_thread;
struct list_head ofd_inconsistency_list;
spinlock_t ofd_inconsistency_lock;
+ /* Backwards compatibility */
+ struct attribute *ofd_read_cache_enable;
+ struct attribute *ofd_read_cache_max_filesize;
+ struct attribute *ofd_write_cache_enable;
};
static inline struct ofd_device *ofd_dev(struct lu_device *d)
};
static inline struct ofd_device *ofd_dev(struct lu_device *d)