[rrd-developers] [PATCH] generalisation of rrd_open API
kevin brintnall
kbrint at rufus.net
Fri Oct 17 16:55:22 CEST 2008
On Fri, Oct 17, 2008 at 03:49:41PM +0100, Daniel.Pocock at barclayscapital.com wrote:
> The madvise stuff has come out, but it will go back in. There are a
> couple of options:
> - pass the header size (which is already known) to
> rrd_file->vfs->open_impl, and call madvise once for the whole region
> - add an madvise function to rrd_vfs_t
Taking it out, even temporarily, doesn't seem like that good of an idea to
me. You're targeting large installations, which need madvise/fadvise very
much.
--
kevin brintnall =~ /kbrint at rufus.net/
> Also, the use of #ifndef HAVE_MMAP in rrd_update.c is something I would
> like to remove, only the code in rrd_open.c should have any knowledge of
> the underlying storage. Maybe we need a function such as
> rrd_file->vfs->is_mmap() to make the decision at run-time instead of
> compile-time.
>
> This is not ready to commit (although it does seem to run), I am just
> putting it up for discussion.
>
> Regards,
>
> Daniel
>
> _______________________________________________
>
> This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group.
> _______________________________________________
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
More information about the rrd-developers
mailing list