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-1666 obdclass: reduce lock contention on coh_page_guard
[fs/lustre-release.git]
/
lustre
/
include
/
cl_object.h
diff --git
a/lustre/include/cl_object.h
b/lustre/include/cl_object.h
index
b0c11e3
..
78f0b49
100644
(file)
--- a/
lustre/include/cl_object.h
+++ b/
lustre/include/cl_object.h
@@
-723,6
+723,8
@@
struct cl_page {
* modified only internally within cl_page.c. Protected by a VM lock.
*/
const enum cl_page_state cp_state;
* modified only internally within cl_page.c. Protected by a VM lock.
*/
const enum cl_page_state cp_state;
+ /** Protect to get and put page, see cl_page_put and cl_vmpage_page */
+ cfs_spinlock_t cp_lock;
/**
* Linkage of pages within some group. Protected by
* cl_page::cp_mutex. */
/**
* Linkage of pages within some group. Protected by
* cl_page::cp_mutex. */