- /*
- * Common fields.
- */
- struct cl_io clt_io;
- struct cl_2queue clt_queue;
-
- /*
- * Fields used by cl_lock.c
- */
- struct cl_lock_descr clt_descr;
- struct cl_page_list clt_list;
- /**
- * \name debugging.
- *
- * Counters used to check correctness of cl_lock interface usage.
- * @{
- */
- /**
- * Number of outstanding calls to cl_lock_mutex_get() made by the
- * current thread. For debugging.
- */
- int clt_nr_locks_locked;
- /** List of locked locks. */
- struct lu_ref clt_locks_locked;
- /** Number of outstanding holds on the top-level locks. */
- int clt_nr_held;
- /** Number of outstanding uses on the top-level locks. */
- int clt_nr_used;
- /** Number of held top-level extent locks. */
- int clt_nr_locks_acquired;
- /** @} debugging */
-
- /*
- * Fields used by cl_page.c
- */
- struct cl_page *clt_pvec[CLT_PVEC_SIZE];
-
- /*
- * Fields used by cl_io.c
- */
- /**
- * Pointer to the topmost ongoing IO in this thread.
- */
- struct cl_io *clt_current_io;