Re: EINTR error in SunOS - Mailing list pgsql-hackers

From Doug McNaught
Subject Re: EINTR error in SunOS
Date
Msg-id 87psncd9oz.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Re: EINTR error in SunOS  (Doug Royer <Doug@Royer.com>)
Responses Re: EINTR error in SunOS  (Doug Royer <Doug@Royer.com>)
List pgsql-hackers
Doug Royer <Doug@Royer.com> writes:

> The 'intr' option to NFS is not the same as EINTR. It
> it means 'if the server does not respond for a while,
> then return an EINTR', just like any other disk read()
> or write() does when it fails to reply.

No, you're thinking of 'soft'.  'intr' (which is actually a modifier
to the 'hard' setting) causes the I/O to hang until the server comes
back or the process gets a signal (in which case EINTR is returned).

-Doug


pgsql-hackers by date:

Previous
From: August Zajonc
Date:
Subject: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Next
From: "Qingqing Zhou"
Date:
Subject: Re: EINTR error in SunOS