[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8106) Retry pwrite operations in case of EINTR



milinevskyy@gmail.com wrote:
> Full_Name: Dmytro Milinevskyy
> Version:
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (92.132.131.166)
>
>
> On linux systems it's common to have system calls interrupted and restarted.
> LMDB should retry pwrites to avoid "false" failures.

In practice, writes to a file are "fast" and will always write at least 
one byte. But we've patched this as suggested, thanks.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/