kern/135412: [zfs] [nfs] zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...)

Mike Andrews mandrews at bit0.com
Thu Jul 2 20:08:29 UTC 2009


On Wed, 1 Jul 2009, Danny Braniss wrote:

>> On 2009-06-30, Mike Andrews wrote:
>>> Jaakko Heinonen wrote:
>>>> On 2009-06-30, Danny Braniss wrote:
>>>>> 	This pr is realy holding me back, I can't upgrade this server, and
>>>>> telling serveral tens of users to us cp, etc is not an option. The open
>>>>> works fine if not using O_EXCL.
>>>>
>>>> I guess that r185586 needs to be MFCd to stable/7. Here's an untested
>>>> patch against stable/7:
>>>
>>> The patch doesn't help over here, sorry.
>>>
>>> Simply doing 'touch' or 'mv' to an NFSv3 mount (using either a v6 or v13
>>> zpool) is the test case I've been using; touch doesn't even use O_EXCL as
>>> far as I can tell.
>>
>> I could reproduce the problem with O_EXCL and verified that the patch
>> fixes it. However I couldn't reproduce the problem you are seeing with
>> touch and mv.
>
> same here, touch worked before too - so i think it's unrelated,
> btw, it seems that the problem does not exist on i386, though
> I'm pretty sure I tried there too, oh well,
>
> thanks!
> 	danny

I'm not sure if what was commited to stable/7 yesterday is substantially 
different from that patch (and if not, what in the world I was doing 
wrong/stupid in testing), but everything now works for me... thanks :)



More information about the freebsd-stable mailing list