summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_linux.h
diff options
context:
space:
mode:
authorDavid Chinner2006-03-14 03:29:16 +0100
committerNathan Scott2006-03-14 03:29:16 +0100
commit01e1b69cfcdcfdd5b405165eaba29428f8b18a7c (patch)
tree3ca7e8d0047ff03ca532f39b0fc4cd50381e8ecc /fs/xfs/linux-2.6/xfs_linux.h
parent[XFS] Add xfs_map_buffer helper, use it in a couple of places. (diff)
downloadkernel-qcow2-linux-01e1b69cfcdcfdd5b405165eaba29428f8b18a7c.tar.gz
kernel-qcow2-linux-01e1b69cfcdcfdd5b405165eaba29428f8b18a7c.tar.xz
kernel-qcow2-linux-01e1b69cfcdcfdd5b405165eaba29428f8b18a7c.zip
[XFS] using a spinlock per cpu for superblock counter exclusion results in
a preēmpt counter overflow at 256p and above. Change the exclusion mechanism to use atomic bit operations and busy wait loops to emulate the spin lock exclusion mechanism but without the preempt count issues. SGI-PV: 950027 SGI-Modid: xfs-linux-melb:xfs-kern:25338a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_linux.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h
index 9fdc14cffb70..bd88ccb0cad0 100644
--- a/fs/xfs/linux-2.6/xfs_linux.h
+++ b/fs/xfs/linux-2.6/xfs_linux.h
@@ -75,6 +75,7 @@
#include <linux/sort.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
+#include <linux/delay.h>
#include <asm/page.h>
#include <asm/div64.h>