From e35286d8008085c04593db74dbf051a29d97a7bb Mon Sep 17 00:00:00 2001
From: adilger <adilger>
Date: Mon, 9 Feb 2004 23:10:25 +0000
Subject: [PATCH] Don't flag the ptlrpcd thread with PF_MEMALLOC (from 1.0.4).
 b=2636

---
 lustre/ChangeLog        | 2 ++
 lustre/ptlrpc/ptlrpcd.c | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index 03a084acf0..4a7afc86c1 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -17,6 +17,8 @@ tbd         Cluster File Systems, Inc. <info@clusterfs.com>
        * kernel patches
 	- fix truncated write corruption (2366)
 	- fix for failed assertion in iopen_connect_dentry (1792,2517)
+       * bug fixes
+	- don't flag the ptlrpcd thread with PF_MEMALLOC (2636)
 
 2004-01-27  Cluster File Systems, Inc. <info@clusterfs.com>
        * version 1.0.3
diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c
index aff00b8140..7b56097bd1 100644
--- a/lustre/ptlrpc/ptlrpcd.c
+++ b/lustre/ptlrpc/ptlrpcd.c
@@ -140,9 +140,6 @@ static int ptlrpcd(void *arg)
 
         complete(&pc->pc_starting);
 
-        /* like kswapd */
-        current->flags |= PF_MEMALLOC;
-
         /* this mainloop strongly resembles ptlrpc_set_wait except
          * that our set never completes.  ptlrpcd_check calls ptlrpc_check_set
          * when there are requests in the set.  new requests come in
-- 
GitLab