Failure with compound requests and aio enabled

Jeremy Allison jra at samba.org
Thu Sep 21 00:14:49 UTC 2017


On Wed, Sep 20, 2017 at 04:57:35PM -0700, Jeremy Allison via samba-technical wrote:
> On Wed, Sep 20, 2017 at 04:47:18PM -0700, Christof Schmitt via samba-technical wrote:
> > Mac clients sometimes send a combination of CREATE-WRITE-CLOSE requests
> > as compound requests. This works in the default config, but fails on a
> > share with 'aio read size' and 'aio write size' enabled.
> 
> Yes, this is a known bug and Mac clients are BREAKING
> THE SPEC here. They don't care 'cos it works to Windows
> servers.

The reason this is a spec break is that any writes
in a compound are allowed to go async, and the mac
client doesn't cope with our response here.

As the mainly use this to write minshal-french
symlinks which are 1k or less, you can get around
this by setting 'aio write size = 2k'.




More information about the samba-technical mailing list