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-6910 osp: add procfs values for OST reserved size
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_internal.h
diff --git
a/lustre/osp/osp_internal.h
b/lustre/osp/osp_internal.h
index
1352d64
..
012cff9
100644
(file)
--- a/
lustre/osp/osp_internal.h
+++ b/
lustre/osp/osp_internal.h
@@
-248,6
+248,12
@@
struct osp_device {
struct list_head opd_async_updates;
struct rw_semaphore opd_async_updates_rwsem;
atomic_t opd_async_updates_count;
struct list_head opd_async_updates;
struct rw_semaphore opd_async_updates_rwsem;
atomic_t opd_async_updates_count;
+
+ /**
+ * Limit the object allocation using ENOSPC for opd_pre_status
+ */
+ int opd_reserved_mb_high;
+ int opd_reserved_mb_low;
};
#define opd_pre_lock opd_pre->osp_pre_lock
};
#define opd_pre_lock opd_pre->osp_pre_lock