Whamcloud - gitweb
LU-386 fix replay_single test_65a
[fs/lustre-release.git] / lustre / kernel_patches / patches / raid5-zerocopy-rhel5.patch
index 1ba727c..06db94d 100644 (file)
@@ -385,7 +385,6 @@ Index: linux-2.6.18-128.1.6/include/linux/page-flags.h
  #define PG_reclaim            17      /* To be reclaimed asap */
  #define PG_nosave_free                18      /* Free, should not be written */
  #define PG_buddy              19      /* Page is free, on buddy lists */
- #define PG_gup                        20      /* Page pin may be because of gup */
 +#define PG_constant           21      /* To mark if the page is constant */
  #define PG_xpmem              27      /* Testing for xpmem. */
  
@@ -429,9 +428,9 @@ Index: linux-2.6.18-128.1.6/mm/filemap.c
  #include <linux/syscalls.h>
  #include <linux/cpuset.h>
 +#include <linux/rmap.h>
- #include "filemap.h"
+ #include <linux/hardirq.h> /* for BUG_ON(!in_atomic()) only */
+ #include <trace/mm.h>
  #include "internal.h"
 @@ -567,11 +568,55 @@
                if (!test_clear_page_writeback(page))
                        BUG();