* 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. */
void cl_lock_put (const struct lu_env *env, struct cl_lock *lock);
void cl_lock_hold_add (const struct lu_env *env, struct cl_lock *lock,
const char *scope, const void *source);
+void cl_lock_hold_release(const struct lu_env *env, struct cl_lock *lock,
+ const char *scope, const void *source);
void cl_lock_unhold (const struct lu_env *env, struct cl_lock *lock,
const char *scope, const void *source);
void cl_lock_release (const struct lu_env *env, struct cl_lock *lock,