summaryrefslogtreecommitdiff
path: root/source3/smbd/dmapi.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-08s3:smbd: fix the build with dmapi supportStefan Metzmacher1-2/+0
struct smbd_dmapi_context *dmapi_ctx; is in globals.c metze
2009-01-08Attempt to fix the buildVolker Lendecke1-1/+1
2009-01-08s3:smbd: move all globals and static variables in globals.[ch]Stefan Metzmacher1-0/+1
The goal is to move all this variables into a big context structure. metze
2009-01-08s3:smbd: keep dmapi globals in one context structStefan Metzmacher1-28/+44
metze
2008-04-14Use more error-prone form of testing dm_destroy_session() return code after ↵Alexander Bokovoy1-1/+1
discussing with Tridge (This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
2008-04-08Destroy DMAPI session when main smbd daemon exits.Alexander Bokovoy1-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)
2008-01-29Fix BOOL introduced by last commitAlexander Bokovoy1-1/+1
(This used to be commit 8afb7133e956ec963ac55720fb297b4d5b44702c)
2008-01-29Merge DMAPI fixes from TridgeAlexander Bokovoy1-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)
2008-01-18Merge DMAPI fixes from CTDB SambaAlexander Bokovoy1-127/+78
(This used to be commit cf1f90ad7a79dbe5926018790bb50d4e3b36cc7b)
2008-01-16Add support for offline files support, remote storage, and Async I/O force ↵Alexander Bokovoy1-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)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22693: Always compile before checkin.... I've now installed dmapi on my ↵Volker Lendecke1-1/+2
laptop :-) (This used to be commit 7460511c4e92f6fdde430d0c56bbb72377e80b4b)
2007-10-10r22691: Fix a 64-bit warning and a const const discard warningVolker Lendecke1-1/+2
(This used to be commit 3a2ca1b1b85e268928587287f61d26f992b303a5)
2007-10-10r21467: Add GPFS-provided DMAPI support based on their GPL libraryAlexander Bokovoy1-0/+2
(This used to be commit 5876bedda51fce0c932ca0cdab074629b31a9c94)
2007-10-10r19873: Make sure we are privileged when doing DMAPI operations on systemsJames Peach1-3/+16
that don't have capability support. Patch by J Raynor <raynorj@mn.rr.com>. (This used to be commit 53fe047f35534afc4b56fcbaf135a3ca13df65bd)
2007-10-10r16057: Coalesce the DMAPI configure tests into a single macro. AddJames Peach1-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)
2007-10-10r14695: Patch from Björn Jacke:Volker Lendecke1-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)
2007-10-10r14669: Remove duplicate source caused by running patch(1) once too often.James Peach1-272/+0
(This used to be commit 0ebbfc867c71002eaf921f4f4d8aa7d7b78973a7)
2007-10-10r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-basedJames Peach1-0/+576
HSM is interested in. Tested on both IRIX and SLES9. (This used to be commit 514a767c57f8194547e5b708ad2573ab9a0719c6)