mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
fix address argument again
This commit is contained in:
@@ -1344,8 +1344,8 @@ lfc_readv_select(NRelFileInfo rinfo, ForkNumber forkNum, BlockNumber blkno,
|
||||
{
|
||||
if (!BITMAP_ISSET(chunk_mask, i))
|
||||
continue;
|
||||
Assert(iov[first_block_in_chunk_read + i].iov_len == BLCKSZ);
|
||||
rc = pread_with_ioctl(iov[first_block_in_chunk_read + i].iov_base, first_read_offset + i);
|
||||
Assert(iov[i].iov_len == BLCKSZ);
|
||||
rc = pread_with_ioctl(iov[i].iov_base, first_read_offset + i - first_block_in_chunk_read);
|
||||
if (rc < 0 && errno == ENOENT)
|
||||
{
|
||||
/* The kernel module evicted the page */
|
||||
|
||||
Reference in New Issue
Block a user