From: Dave Chinner <david@fromorbit.com>
To: Linda Walsh <xfs@tlinx.org>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: Re: FYI: better workaround for updating 'df' info after 'rm' on xfs-vols
Date: Wed, 27 Feb 2013 07:54:50 +1100 [thread overview]
Message-ID: <20130226205450.GU5551@dastard> (raw)
In-Reply-To: <512C4C7A.60002@tlinx.org>
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2013-02-26 20:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 1:41 FYI: better workaround for updating 'df' info after 'rm' on xfs-vols Linda Walsh
2013-02-26 4:50 ` Dave Chinner
2013-02-26 5:47 ` Linda Walsh
2013-02-26 20:54 ` Dave Chinner [this message]
2013-04-02 18:17 ` Linda Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130226205450.GU5551@dastard \
--to=david@fromorbit.com \
--cc=xfs@oss.sgi.com \
--cc=xfs@tlinx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox