Jeremy Allison | 11 Jul 2012 08:05
Picon
Favicon

[SCM] Samba Shared Repository - branch master updated

The branch, master has been updated
       via  8ee30be Add in the threaded async open engine.
      from  d81e206 Move set_thread_credentials_permanently() to set_thread_credentials() as we need to
keep the saved set uid/gid otherwise there is an interaction with open[at]() and NO_ATIME returning
EPERM. As this is meant for threaded code inside the process we don't need to do an irreverisble change anyway.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master

- Log -----------------------------------------------------------------
commit 8ee30be431246863a0ddb2f942b7b6fe51788d6d
Author: Jeremy Allison <jra <at> samba.org>
Date:   Tue Jul 10 20:59:27 2012 -0700

    Add in the threaded async open engine.

    Fixes all issues raised originally. This code
    will only do threaded opens with thread-specific
    credentials (Linux for now) and changes credentials
    before doing the call. Also only fires on O_CREAT|O_EXCL
    so will only create new files, never open old ones
    async.

    Volker, this is isolated enough that it shouldn't
    prevent you from refactoring it into a new module
    when the aio pread/pwrite code is moved into the
    default aio path.

    Autobuild-User(master): Jeremy Allison <jra <at> samba.org>
    Autobuild-Date(master): Wed Jul 11 08:04:56 CEST 2012 on sn-devel-104

(Continue reading)


Gmane