summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dmapi.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-1/+1
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-2/+2
|
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: I thought I had compiled this....Volker Lendecke2010-10-031-1/+1
|
* s3: Remove talloc_autofree_context() from dmapi.cVolker Lendecke2010-10-031-2/+1
| | | | | This is a place where an explicit dmapi_destroy_session would be needed. But we don't use a destructor for this.
* s3:smbd: fix the build with dmapi supportStefan Metzmacher2009-01-081-2/+0
| | | | | | | struct smbd_dmapi_context *dmapi_ctx; is in globals.c metze
* Attempt to fix the buildVolker Lendecke2009-01-081-1/+1
|
* s3:smbd: move all globals and static variables in globals.[ch]Stefan Metzmacher2009-01-081-0/+1
| | | | | | The goal is to move all this variables into a big context structure. metze
* s3:smbd: keep dmapi globals in one context structStefan Metzmacher2009-01-081-28/+44
| | | | metze
* Use more error-prone form of testing dm_destroy_session() return code after ↵Alexander Bokovoy2008-04-141-1/+1
| | | | | | discussing with Tridge (This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
* 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. (This used to be commit a0cefd44009d414fa00ec6e08c70d21b74acdbcb)
* Fix BOOL introduced by last commitAlexander Bokovoy2008-01-291-1/+1
| | | | (This used to be commit 8afb7133e956ec963ac55720fb297b4d5b44702c)
* 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. (This used to be commit 5efb57d904e25e68b09a567e260292439ad9c095)
* Merge DMAPI fixes from CTDB SambaAlexander Bokovoy2008-01-181-127/+78
| | | | (This used to be commit cf1f90ad7a79dbe5926018790bb50d4e3b36cc7b)
* 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>(This used to be commit 875208724e39564fe81385dfe36e6c963e79e101)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22693: Always compile before checkin.... I've now installed dmapi on my ↵Volker Lendecke2007-10-101-1/+2
| | | | | | laptop :-) (This used to be commit 7460511c4e92f6fdde430d0c56bbb72377e80b4b)
* r22691: Fix a 64-bit warning and a const const discard warningVolker Lendecke2007-10-101-1/+2
| | | | (This used to be commit 3a2ca1b1b85e268928587287f61d26f992b303a5)
* r21467: Add GPFS-provided DMAPI support based on their GPL libraryAlexander Bokovoy2007-10-101-0/+2
| | | | (This used to be commit 5876bedda51fce0c932ca0cdab074629b31a9c94)
* 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>. (This used to be commit 53fe047f35534afc4b56fcbaf135a3ca13df65bd)
* 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. (This used to be commit aafd4db457ce8a60c628d54a3ace3b97c8885dca)
* 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 (This used to be commit b6b72f8c6a03001ae75457c9e7a78e189bea5a3f)
* r14669: Remove duplicate source caused by running patch(1) once too often.James Peach2007-10-101-272/+0
| | | | (This used to be commit 0ebbfc867c71002eaf921f4f4d8aa7d7b78973a7)
* 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. (This used to be commit 514a767c57f8194547e5b708ad2573ab9a0719c6)