Re: FYI: better workaround for updating 'df' info after 'rm' on xfs-vols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 25, 2013 at 09:47:38PM -0800, Linda Walsh wrote:
> 
> >> Someone suggested cat [1|3] >/proc/sys/vm/drop_caches.
> > 
> > echo, not cat. It does work every time, whether you see anything
> > obvious or not. And if you want to reclaim inodes, then you want
> > "echo 2 > ..."
> ----
> 	Erk...meant echo... too much draino on the braino
> (doesn't 3 include '2'? I thought it was a bit mask?)

Yes, it is a bit mask. 1 = page cache, 2 = slab cache, 3 = both.
Inode reclaim is part of the slab cache reclaim, so page cache
reclaim won't make any difference to the behaviour at all.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux