summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2015-03-30 22:43:29 -0500
committerBrian Behlendorf <[email protected]>2015-04-03 11:38:59 -0700
commit40d06e3c78c23b199dfd9284809e710fab549391 (patch)
tree77de486d62f5eabf458b251504bf47104b6f1bf1 /include
parent74aa2ba259e61512bd029c9e8f857f0611a80bbd (diff)
Mark all ZPL and ioctl functions as PF_FSTRANS
Prevent deadlocks by disabling direct reclaim during all ZPL and ioctl calls as well as the l2arc and adapt ARC threads. This obviates the need for MUTEX_FSTRANS so its previous uses and definition have been eliminated. Signed-off-by: Tim Chase <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3225
Diffstat (limited to 'include')
-rw-r--r--include/sys/zfs_context.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index b8eff58bc..3dc54f1d7 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -273,7 +273,6 @@ typedef struct kmutex {
} kmutex_t;
#define MUTEX_DEFAULT 0
-#define MUTEX_FSTRANS MUTEX_DEFAULT
#define MUTEX_HELD(m) ((m)->m_owner == curthread)
#define MUTEX_NOT_HELD(m) (!MUTEX_HELD(m))