summaryrefslogtreecommitdiffstats
path: root/source/smbd/dmapi.c
Commit message (Collapse)AuthorAgeFilesLines
* Use more error-prone form of testing dm_destroy_session() return code after ↵Alexander Bokovoy2008-04-141-1/+1
| | | | discussing with Tridge
* Destroy DMAPI session when main smbd daemon exits.Alexander Bokovoy2008-04-081-0/+24
| | | | | | | DMAPI session is precious resource maintained at kernel level. We open one of them and use across multiple smbd daemons but once last of them exits, DMAPI session needs to be destroyed. There are some HSM implementations which fail to shutdown when opened DMAPI sessions left. Ensure we shutdown our session when it is really not needed anymore. This is what recommended by DMAPI specification anyway.
* Fix BOOL introduced by last commitAlexander Bokovoy2008-01-291-1/+1
|
* Merge DMAPI fixes from TridgeAlexander Bokovoy2008-01-291-16/+56
| | | | | | Support cases when existing DMAPI session is stale. In this case we are creating another one. The code differs from 3-0_ctdb branch in that we fail when it is not possible to create more sessions and pretend that file is offline. This allows to escape endless loop in vfs_tsmsm.c.
* Merge DMAPI fixes from CTDB SambaAlexander Bokovoy2008-01-181-127/+78
|
* Add support for offline files support, remote storage, and Async I/O force ↵Alexander Bokovoy2008-01-161-31/+40
| | | | | | | | | | | | | | | | operations to VFS Offline files support and remote storage are for allowing communication with backup and archiving tools that mark files moved to a tape library as offline. We translate this info into corresponding CIFS offline file attribute and mark an exported volume as remote storage. Async I/O force is to allow selective redirection of I/O operations to asynchronous processing in case it is viable at VFS module discretion. It is needed for proper handling of offline files as performing regular I/O on offline file will block smbd. Signed-off-by: Alexander Bokovoy <ab@samba.org>
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-2/+2
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22693: Always compile before checkin.... I've now installed dmapi on my ↵Volker Lendecke2007-10-101-1/+2
| | | | laptop :-)
* r22691: Fix a 64-bit warning and a const const discard warningVolker Lendecke2007-10-101-1/+2
|
* r21467: Add GPFS-provided DMAPI support based on their GPL libraryAlexander Bokovoy2007-10-101-0/+2
|
* r19873: Make sure we are privileged when doing DMAPI operations on systemsJames Peach2007-10-101-3/+16
| | | | that don't have capability support. Patch by J Raynor <raynorj@mn.rr.com>.
* r16057: Coalesce the DMAPI configure tests into a single macro. AddJames Peach2007-10-101-6/+0
| | | | | a more specific probe to try and eliminate old, incompatible DMAPI implementations provided by IRIX 6.4 and AIX 4.3.
* r14695: Patch from Björn Jacke:Volker Lendecke2007-10-101-5/+7
| | | | | | | - add DMAPI/XDSM support for AIX - find JFS DMAPI libs on Linux when only they are available Volker
* r14669: Remove duplicate source caused by running patch(1) once too often.James Peach2007-10-101-272/+0
|
* r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-basedJames Peach2007-10-101-0/+576
HSM is interested in. Tested on both IRIX and SLES9.