X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fcl_object.h;h=78f0b4900b56e32b0fb0d097408c4fb20aab034a;hp=b0c11e30e3a2062100f12e53c29c8f02dcbd3592;hb=60e052d06f7f82e13fc551b96d1ca7585ac505df;hpb=2a4a7af3993bd06afdb3c6499f8cb4edbb9564b2 diff --git a/lustre/include/cl_object.h b/lustre/include/cl_object.h index b0c11e3..78f0b49 100644 --- 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; + /** 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. */