This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

The following commit(s) were added to refs/heads/master by this push:
     new 80f6ce8  /proc/sys/vm/drop_caches is write only now
80f6ce8 is described below

commit 80f6ce8ce53ef7678151338b6478aabab0af6d6b
Author: Justin M. Forbes <jfor...@fedoraproject.org>
AuthorDate: Wed May 12 15:33:25 2021 -0500

    /proc/sys/vm/drop_caches is write only now
    
    Signed-off-by: Justin M. Forbes <jfor...@fedoraproject.org>
---
 default/cachedrop/drop_caches.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/default/cachedrop/drop_caches.sh b/default/cachedrop/drop_caches.sh
index b6f0bf5..306f9f3 100755
--- a/default/cachedrop/drop_caches.sh
+++ b/default/cachedrop/drop_caches.sh
@@ -43,7 +43,8 @@ function free_pagecache()
 
        sync
        echo 1 > ${TUNE_FILE}
-       verify_tune_value ${TUNE_FILE} 1
+       # /proc/sys/vm/drop_caches is write only now
+       # verify_tune_value ${TUNE_FILE} 1
 
        sleep 1
        new_pagecache=`vmstat | awk '{print $6}'| sed -n '3p'`
@@ -67,7 +68,8 @@ function free_dentries_inodes()
        
        sync
        echo 2 > ${TUNE_FILE}
-       verify_tune_value ${TUNE_FILE} 2
+       # /proc/sys/vm/drop_caches is write only now
+       # verify_tune_value ${TUNE_FILE} 2
        sleep 2
 
        new_cache=`vmstat | awk '{print $6}'| sed -n '3p'`
@@ -93,7 +95,8 @@ function free_pagecache_dentries_inodes()
 
        sync
        echo 3 > ${TUNE_FILE}
-       verify_tune_value ${TUNE_FILE} 3
+       # /proc/sys/vm/drop_caches is write only now
+       # verify_tune_value ${TUNE_FILE} 3
        sleep 1
        
        new_cache=`vmstat | awk '{print $6}'| sed -n '3p'`

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to