On 11/14/13, 7:09 AM, KONDO Mitsumasa wrote: > I create a patch that is improvement of disk-read and OS file caches. It can > optimize kernel readahead parameter using buffer access strategy and > posix_fadvice() in various disk-read situations.
Various compiler warnings: tablecmds.c: In function ‘copy_relation_data’: tablecmds.c:9120:3: warning: passing argument 5 of ‘smgrread’ makes pointer from integer without a cast [enabled by default] In file included from tablecmds.c:79:0: ../../../src/include/storage/smgr.h:94:13: note: expected ‘char *’ but argument is of type ‘int’ bufmgr.c: In function ‘ReadBuffer_common’: bufmgr.c:455:4: warning: passing argument 5 of ‘smgrread’ from incompatible pointer type [enabled by default] In file included from ../../../../src/include/storage/buf_internals.h:22:0, from bufmgr.c:45: ../../../../src/include/storage/smgr.h:94:13: note: expected ‘char *’ but argument is of type ‘BufferAccessStrategy’ md.c: In function ‘mdread’: md.c:680:2: warning: passing argument 2 of ‘BufferHintIOAdvise’ makes integer from pointer without a cast [enabled by default] In file included from md.c:34:0: ../../../../src/include/storage/fd.h:79:12: note: expected ‘off_t’ but argument is of type ‘char *’ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers