]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/xfs/linux-2.6/xfs_linux.h
[XFS] On machines with more than 8 cpus, when running parallel I/O
[mirror_ubuntu-zesty-kernel.git] / fs / xfs / linux-2.6 / xfs_linux.h
index 67389b745526d1e5e4928738623bcbccf83e44ea..377a9f54a04931ed41c880376b22af034320b747 100644 (file)
  */
 #undef  HAVE_REFCACHE  /* reference cache not needed for NFS in 2.6 */
 #define HAVE_SENDFILE  /* sendfile(2) exists in 2.6, but not in 2.4 */
+#if CONFIG_SMP
+#define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */
+#else
+#undef  HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */
+#endif
 
 /*
  * State flag for unwritten extent buffers.