ocfs2.h (692684e19e317a374c18e70a44d6413e51f71c11) | ocfs2.h (cb25797d451dc774d9dbc402a65f16a0e32199fe) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * ocfs2.h 5 * 6 * Defines macros and structures used in OCFS2 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 20 unchanged lines hidden (view full) --- 29#include <linux/spinlock.h> 30#include <linux/sched.h> 31#include <linux/wait.h> 32#include <linux/list.h> 33#include <linux/rbtree.h> 34#include <linux/workqueue.h> 35#include <linux/kref.h> 36#include <linux/mutex.h> | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * ocfs2.h 5 * 6 * Defines macros and structures used in OCFS2 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 20 unchanged lines hidden (view full) --- 29#include <linux/spinlock.h> 30#include <linux/sched.h> 31#include <linux/wait.h> 32#include <linux/list.h> 33#include <linux/rbtree.h> 34#include <linux/workqueue.h> 35#include <linux/kref.h> 36#include <linux/mutex.h> |
37#include <linux/lockdep.h> |
|
37#ifndef CONFIG_OCFS2_COMPAT_JBD 38# include <linux/jbd2.h> 39#else 40# include <linux/jbd.h> 41# include "ocfs2_jbd_compat.h" 42#endif 43 44/* For union ocfs2_dlm_lksb */ --- 102 unchanged lines hidden (view full) --- 147 unsigned int l_lock_num_prmode_failed; /* Failed PR gets */ 148 unsigned int l_lock_num_exmode_failed; /* Failed EX gets */ 149 unsigned long long l_lock_total_prmode; /* Tot wait for PR */ 150 unsigned long long l_lock_total_exmode; /* Tot wait for EX */ 151 unsigned int l_lock_max_prmode; /* Max wait for PR */ 152 unsigned int l_lock_max_exmode; /* Max wait for EX */ 153 unsigned int l_lock_refresh; /* Disk refreshes */ 154#endif | 38#ifndef CONFIG_OCFS2_COMPAT_JBD 39# include <linux/jbd2.h> 40#else 41# include <linux/jbd.h> 42# include "ocfs2_jbd_compat.h" 43#endif 44 45/* For union ocfs2_dlm_lksb */ --- 102 unchanged lines hidden (view full) --- 148 unsigned int l_lock_num_prmode_failed; /* Failed PR gets */ 149 unsigned int l_lock_num_exmode_failed; /* Failed EX gets */ 150 unsigned long long l_lock_total_prmode; /* Tot wait for PR */ 151 unsigned long long l_lock_total_exmode; /* Tot wait for EX */ 152 unsigned int l_lock_max_prmode; /* Max wait for PR */ 153 unsigned int l_lock_max_exmode; /* Max wait for EX */ 154 unsigned int l_lock_refresh; /* Disk refreshes */ 155#endif |
156#ifdef CONFIG_DEBUG_LOCK_ALLOC 157 struct lockdep_map l_lockdep_map; 158#endif |
|
155}; 156 157enum ocfs2_orphan_scan_state { 158 ORPHAN_SCAN_ACTIVE, 159 ORPHAN_SCAN_INACTIVE 160}; 161 162struct ocfs2_orphan_scan { --- 569 unchanged lines hidden --- | 159}; 160 161enum ocfs2_orphan_scan_state { 162 ORPHAN_SCAN_ACTIVE, 163 ORPHAN_SCAN_INACTIVE 164}; 165 166struct ocfs2_orphan_scan { --- 569 unchanged lines hidden --- |