Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. Buffindexed page size limited? (Julien ?LIE)


----------------------------------------------------------------------

Message: 1
Date: Thu, 01 Aug 2013 21:16:11 +0200
From: Julien ?LIE <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Buffindexed page size limited?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252

Hi,

On Fedora 18 ppc64, the overview/api.t test fails with:

# buffindexed
buffindexed: OV_HDR_PAGESIZE (16384) is not a multiple of pagesize (65536)
Opening the overview database failed, cannot continue


In storage/buffindexed/buffindexed.c:

#define OV_HDR_PAGESIZE 16384

if ((pagesize > OV_HDR_PAGESIZE) || (OV_HDR_PAGESIZE % pagesize)) {
      warn("buffindexed: OV_HDR_PAGESIZE (%d) is not a multiple of pagesize 
(%ld)", OV_HDR_PAGESIZE, pagesize);
      return false;
}

and config.h has:

/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1




So I wonder whether there is a reason for having set OV_HDR_PAGESIZE
to 16384 in the buffindexed source code.
Couldn't we just set OV_HDR_PAGESIZE to pagesize if pagesize > 16384?
This way, it would still work as it used to for existing working systems,
and it would also work for systems having pagesize > 16384.

-- 
Julien ?LIE

? ? Je t'ai pr?par? une bonne soupe dont tu me diras des
    nouvelles, mon gar?on !
  ? Pour moi, ?a, ce n'est pas des bonnes nouvelles ! ? (Ast?rix)


------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 54, Issue 1
******************************************

Reply via email to