List Info

Thread: dirty pages not being flushed in a timely manner




dirty pages not being flushed in a timely manner
country flaguser name
United States
2007-04-23 14:20:23
Please don't reply to lustre-devel. Instead, comment in
Bugzilla by using the following link:
htt
ps://bugzilla.lustre.org/show_bug.cgi?id=12181



This work-around to the defect is submitted by Nick Cardo of
NERSC. In summary,
before shutdown, you just do a sync if Lustre reports dirty
pages in the cache...


#!/bin/ksh

cd /proc/fs/lustre/osc
for i in `find . -name dirty_cache_pages -print`
do
        cnt=`cat $i`
        if [ $cnt -ne 0 ]
        then
                echo "node has $cnt dirty_cache_pages,
sync them"
        fi
done

_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )