Re: pg_combinebackup --copy-file-range - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: pg_combinebackup --copy-file-range
Date
Msg-id CA+hUKGJdDRqrPFAEpXqe9TLQXbK6MDPw=7sBaHVyozSZ0A3+6A@mail.gmail.com
Whole thread Raw
In response to Re: pg_combinebackup --copy-file-range  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
+            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:

Previous
From: Bruce Momjian
Date:
Subject: Re: Security lessons from liblzma
Next
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed