[zfs-fuse] Fix OOM syntax.
Jon Ciesla
limb at fedoraproject.org
Tue Jan 29 15:57:46 UTC 2013
commit 376f01d89f2ef249ba52a084223683e37289e72f
Author: Jon Ciesla <limburgher at gmail.com>
Date: Tue Jan 29 09:54:45 2013 -0600
Fix OOM syntax.
zfs-fuse-helper | 2 +-
zfs-fuse.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/zfs-fuse-helper b/zfs-fuse-helper
index ac086c5..6d9b9a6 100644
--- a/zfs-fuse-helper
+++ b/zfs-fuse-helper
@@ -83,7 +83,7 @@ start() {
fi
echo -n "Immunizing $prog against OOM kills"
- echo -17 > "/proc/$PID/oom_adj"
+ echo -17 > "/proc/$PID/oom_score_adj"
ES_TO_REPORT=$?
if [ "$ES_TO_REPORT" -ne 0 ] ; then
echo_warning
diff --git a/zfs-fuse.spec b/zfs-fuse.spec
index e49ad13..d153027 100644
--- a/zfs-fuse.spec
+++ b/zfs-fuse.spec
@@ -1,7 +1,7 @@
%define _hardened_build 1
Name: zfs-fuse
Version: 0.7.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: ZFS ported to Linux FUSE
Group: System Environment/Base
License: CDDL
@@ -131,6 +131,9 @@ fi
%{_mandir}/man8/zstreamdump.8.gz
%changelog
+* Tue Jan 29 2013 Jon Ciesla <limburgher at gmail.com> - 0.7.0-8
+- Correct OOM immunization.
+
* Tue Jan 15 2013 Jon Ciesla <limburgher at gmail.com> - 0.7.0-7
- Fix directory ownership, BZ 894517.
More information about the scm-commits
mailing list