[Samba] Inconsistent performance (4.1.6)

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Apr 11 05:37:03 MDT 2014


On Thu, Apr 10, 2014 at 10:12:43AM -0700, Jeremy Allison wrote:
> The only safe way to use aio is to use it via the
> samba-coded pthread module, which doesn't suffer
> from these problems.

What version are we looking at here? From the subject of the
mail I guessed that we are talking about 4.1.6. In 4.1.6, I
see a line

        ret = asys_pread(state->asys_ctx, fsp->fh->fd, data, n, offset, req);

in vfs_default.c, so my gut feeling would be that this
version does not need the explicit aio_pthread module for
async read/write. Please apologize my ignorance if we are
talking about the async file creation, but I could not read
that from this mail thread so far.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list