[CentOS] Preventing the nightly backup from disturbing the cache

Andy Green andy at warmcat.com
Mon Apr 24 21:14:46 UTC 2006


Adam Gibson wrote:

> I am rather surprised that this has not been dealt with by now.  Why 
> mess with the currently cached information when you know that the files 
> being read will be many times more than your memory/swap space and will 
> only need to be read once.

It's possible to use the flag

O_DIRECT

http://homepages.cwi.nl/~aeb/linux/man2html/man2/open.2.html

It's up to your backup program if it wants to use the flag or not, but 
it is there.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20060424/c40ef5eb/attachment.bin>


More information about the CentOS mailing list