> Wietse Venema wrote:
> > Please file a ZFS bug reportug. As per POSIX, when the O_CREAT is
> > specified to open(),
> >     The third argument does not affect whether the file is open
> >     for reading, writing or for both.
> > In other words, read/write access is controlled with the O_RDWR flags,
> > not the read/write permissions argument.
> > 
> > When the above error happens, Postfix discards the file. Consequently,
> > Postfix performance will be reduced, because it creates one extra file
> > per MAIL transaction, instead of one extra file over the process
> > lifetime.
> 
> Thanks for the insight.
> 
> Reported:
>   http://www.freebsd.org/cgi/query-pr.cgi?pr=154873
> we'll see what comes out of it.
>   Mark

ZFS fix has been committed to HEAD!

| Re: standards/154873:
|   ZFS violates POSIX on open/O_CREAT -> ftruncate
|
| State-Changed-From-To: open->patched
| State-Changed-By: pjd
| State-Changed-When: czw 24 mar 2011 20:28:17 UTC
| State-Changed-Why: 
| Fix committed to HEAD. Thanks!
| http://www.freebsd.org/cgi/query-pr.cgi?pr=154873


  Mark

Reply via email to