aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dlm.h
diff options
context:
space:
mode:
authorPatrick Caulfield <pcaulfie@redhat.com>2007-06-06 10:21:22 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-07-09 03:23:17 -0400
commit44f487a5536a3afd96a9f571de24c36559e9ae82 (patch)
tree1bbdb85a23c75a29e49ec0b7a1cbb6834a5b55e6 /include/linux/dlm.h
parent292e539e9386823df8aab556f3da09667f78da8c (diff)
[DLM] variable allocation
Add a new flag, DLM_LSFL_FS, to be used when a file system creates a lockspace. This flag causes the dlm to use GFP_NOFS for allocations instead of GFP_KERNEL. (This updated version of the patch uses gfp_t for ls_allocation.) Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com> Signed-Off-By: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/dlm.h')
-rw-r--r--include/linux/dlm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dlm.h b/include/linux/dlm.h
index 5227a9594f9d..be9d278761e0 100644
--- a/include/linux/dlm.h
+++ b/include/linux/dlm.h
@@ -206,6 +206,7 @@ struct dlm_lksb {
206 206
207#define DLM_LSFL_NODIR 0x00000001 207#define DLM_LSFL_NODIR 0x00000001
208#define DLM_LSFL_TIMEWARN 0x00000002 208#define DLM_LSFL_TIMEWARN 0x00000002
209#define DLM_LSFL_FS 0x00000004
209 210
210#ifdef __KERNEL__ 211#ifdef __KERNEL__
211 212