+ wb = copy_file_range(s->fd, &offsetmap[i], wfd, NULL, BLCKSZ, 0); Can you collect adjacent blocks in one multi-block call? And then I think the contract is that you need to loop if it returns short.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных