From: Juri Haberland <juri.haberland@innominate.com>
To: Al Peat <al_kernel@yahoo.com>
Cc: myself <al_peat@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: Purging the Buffer Cache
Date: Wed, 20 Dec 2000 11:02:58 +0100 [thread overview]
Message-ID: <3A4083D2.BC684527@innominate.com> (raw)
In-Reply-To: <20001220040634.26347.qmail@web10102.mail.yahoo.com>
Al Peat wrote:
>
> Is there any way to completely purge the buffer
> cache -- not just the write requests (ala 'sync' or
> 'update'), but the whole thing? Can I just call
> invalidate_buffers() or destroy_buffers()?
>
> I know, why in the world would a person do such a
> thing? Research. It'd be easier for me to write a
> little program or add it to a module than wait for a
> reboot each time I need a clean buffer cache.
What about the ioctl BLKFLSBUF ?
If you are running a SuSE distrib there is already a tool called flushb
that does what you want. If not, you can download the simple tool from
http://innominate.org/~juri/flushb.tar.gz
Juri
--
juri.haberland@innominate.com
system engineer innominate AG
clustering & security the linux architects
tel: +49-30-308806-45 fax: -77 http://www.innominate.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2000-12-20 10:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-20 4:06 Purging the Buffer Cache Al Peat
2000-12-20 10:02 ` Juri Haberland [this message]
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=3A4083D2.BC684527@innominate.com \
--to=juri.haberland@innominate.com \
--cc=al_kernel@yahoo.com \
--cc=al_peat@yahoo.com \
--cc=linux-kernel@vger.kernel.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