git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: baf7c93) | patch
Provide helper for retrying partial vectored I/O.
2023年12月11日 21:28:46 +0000 (10:28 +1300)
2023年12月11日 21:57:18 +0000 (10:57 +1300)
commit 0c6be59f5e34f44b20d9ec3ffb58c1d9a0bf985e
Provide helper for retrying partial vectored I/O.

compute_remaining_iovec() is a re-usable routine for retrying after
pg_readv() or pg_writev() reports a short transfer. This will gain new
users in a later commit, but can already replace the open-coded
equivalent code in the existing pg_pwritev_with_retry() function.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/CA+hUKGJkOiOCa+mag4BF+zHo7qo=o9CFheB8=g6uT5TUm2gkvA@mail.gmail.com
src/common/file_utils.c diff | blob | blame | history
src/include/common/file_utils.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /