]> granicus.if.org Git - postgresql/commit
Widen amount-to-flush arguments of FileWriteback and callers.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Apr 2016 22:12:06 +0000 (18:12 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Apr 2016 22:12:06 +0000 (18:12 -0400)
commit95ef43c4308102d23afa887c9fc28d9977612a2d
tree39674efd5c4540cb23e093d3777ad814cc84ff6d
parentfa11a09fed2b6f483231608866a682ee3a376277
Widen amount-to-flush arguments of FileWriteback and callers.

It's silly to define these counts as narrower than they might someday
need to be.  Also, I believe that the BLCKSZ * nflush calculation in
mdwriteback was capable of overflowing an int.
src/backend/storage/file/fd.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/smgr.c
src/include/storage/fd.h
src/include/storage/smgr.h