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
b=23289 disable pdo locks in MDD
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_internal.h
diff --git
a/lustre/mdd/mdd_internal.h
b/lustre/mdd/mdd_internal.h
index
03794a0
..
246951e
100644
(file)
--- a/
lustre/mdd/mdd_internal.h
+++ b/
lustre/mdd/mdd_internal.h
@@
-67,6
+67,10
@@
static inline void mdd_quota_wrapper(struct lu_attr *la, unsigned int *qids)
}
#endif
+/* PDO lock is unnecessary for current MDT stack because operations
+ * are already protected by ldlm lock */
+#define MDD_DISABLE_PDO_LOCK 1
+
enum mdd_txn_op {
MDD_TXN_OBJECT_DESTROY_OP = 0,
MDD_TXN_OBJECT_CREATE_OP,