[packages/kernel/LINUX_4_1] - rel 3; allow xfs to progress in tight memory conditions - http://www.spinics.net/lists/xfs/msg3577

arekm arekm at pld-linux.org
Mon Nov 9 08:19:46 CET 2015


commit 77a0e9d267ad6c74979b89f7fc8c5f8cb2caa5b4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Nov 9 08:16:19 2015 +0100

    - rel 3; allow xfs to progress in tight memory conditions - http://www.spinics.net/lists/xfs/msg35776.html

 kernel-small_fixes.patch | 23 +++++++++++++++++++++++
 kernel.spec              |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index 159c89a..fe8ba2b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -69,7 +69,7 @@
 %define		have_pcmcia	0
 %endif
 
-%define		rel		2
+%define		rel		3
 %define		basever		4.1
 %define		postver		.12
 
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 01e03aa..74b41dc 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -97,3 +97,26 @@ index 28011fb1..c6ded6b 100644
  	.pkts_acked     = bictcp_acked,
  	.owner		= THIS_MODULE,
  	.name		= "cubic",
+--- linux-4.1/fs/xfs/xfs_super.c~	2015-11-09 08:13:14.000000000 +0100
++++ linux-4.1/fs/xfs/xfs_super.c	2015-11-09 08:15:28.565293546 +0100
+@@ -839,17 +839,17 @@
+ 		goto out_destroy_unwritten;
+ 
+ 	mp->m_reclaim_workqueue = alloc_workqueue("xfs-reclaim/%s",
+-			WQ_FREEZABLE, 0, mp->m_fsname);
++			WQ_MEM_RECLAIM|WQ_FREEZABLE, 0, mp->m_fsname);
+ 	if (!mp->m_reclaim_workqueue)
+ 		goto out_destroy_cil;
+ 
+ 	mp->m_log_workqueue = alloc_workqueue("xfs-log/%s",
+-			WQ_FREEZABLE|WQ_HIGHPRI, 0, mp->m_fsname);
++			WQ_MEM_RECLAIM|WQ_FREEZABLE|WQ_HIGHPRI, 0, mp->m_fsname);
+ 	if (!mp->m_log_workqueue)
+ 		goto out_destroy_reclaim;
+ 
+ 	mp->m_eofblocks_workqueue = alloc_workqueue("xfs-eofblocks/%s",
+-			WQ_FREEZABLE, 0, mp->m_fsname);
++			WQ_MEM_RECLAIM|WQ_FREEZABLE, 0, mp->m_fsname);
+ 	if (!mp->m_eofblocks_workqueue)
+ 		goto out_destroy_log;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/77a0e9d267ad6c74979b89f7fc8c5f8cb2caa5b4



More information about the pld-cvs-commit mailing list