summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2008-01-29Fix typos and replace statvfs call with fs_capabilities()Alexander Bokovoy1-12/+7
(This used to be commit 863b5ed07aca0978aeaf919d7c51204a95ce03e0)
2008-01-29Merge DMAPI fixes from TridgeAlexander Bokovoy1-3/+22
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-29Merge branch 'ctdb-merge' into dmapi-integrationAlexander Bokovoy1-41/+51
(This used to be commit 58dce4cdf277c8c68865185d9d8b4faea996dd3e)
2008-01-25Attempt to fix the build on OpenBSDVolker Lendecke1-1/+1
Thanks to metze for pointing this out (This used to be commit c94c04e3e6f6ae243a55534a76654755bff55651)
2008-01-24Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-mergeAlexander Bokovoy5-6/+1423
(This used to be commit 42d06d41bf2e9fb094f6064dc04f549d880b5f8d)
2008-01-23strtok -> strtok_rVolker Lendecke1-1/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-23Remove two unused variablesVolker Lendecke1-1/+0
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
2008-01-22Hide streams from the EA APIVolker Lendecke1-8/+6
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
2008-01-21Attempt to fix the darwin buildVolker Lendecke1-4/+4
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
2008-01-21Add SMB_VFS_FS_CAPABILITIESVolker Lendecke3-20/+19
It turns out that this is a necessary operation, separate from statvfs. statvfs can fail during tcon, so conn->fs_capabilities would never see that we support streams on a particular share. James, can you check that I got the darwin variant right? Thanks! (This used to be commit 3ad798d803b3b023533bb48e6993885f22b96095)
2008-01-20Fix some "set but never used" warningsVolker Lendecke1-0/+4
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
2008-01-20Fix valgrind errorsVolker Lendecke1-2/+2
(This used to be commit d7e6ec2258350c564053371361c8f1d7d0f775b1)
2008-01-20Do not use an unfinished fsp in streams_xattr_openVolker Lendecke1-1/+1
(This used to be commit 023b313d0d4ed3beb8d77177bc8141cadeb86658)
2008-01-20In streams_xattr_pwrite, base_fsp does not have an fdVolker Lendecke1-1/+2
These bugs haven't shown up when I did my tests with real xattrs, not with the xattr_tdb backend. It worked because the stream fsp does has the base file as fd. (This used to be commit b7022f8f7bf83c9c5e73e98d1477b7da766e8c5f)
2008-01-20Add some DEBUGVolker Lendecke2-0/+18
(This used to be commit 8db25aba63b1dffb0dfbc74012c7ebd0ce4d5682)
2008-01-20For pread/pwrite we need to do the setxattr on base_fspVolker Lendecke1-4/+4
(This used to be commit d481dddc81699aba79e48bca79bfb10e586b5cbb)
2008-01-20Really remove the _NEXT_ from vfs_xattr_tdb.cVolker Lendecke1-15/+20
This must have been lost somewhere in my patch-mangling (This used to be commit c1794375d1fa27d72ec32946bb4bd7b9f96e59fc)
2008-01-20Support XATTR_CREATE and XATTR_REPLACE in vfs_xattr_tdbVolker Lendecke1-0/+11
(This used to be commit 3509ee597f0977aadd4c70cfe8830a6aa95cd71f)
2008-01-20Complete the ea->xattr rename in vfs_xattr_tdbVolker Lendecke1-4/+5
(This used to be commit dac468216e7e103b6897f33ec3608412f77265cf)
2008-01-19vfs_streams_depotVolker Lendecke1-0/+648
Store streams in a file each. Not 100% finished, and not built by default. (This used to be commit 5f5fc72b01c8e8fc096375c7cb4a97186c387259)
2008-01-19vfs_streams_xattr moduleVolker Lendecke1-0/+672
Store streams in posix xattrs. A kludge, as xattrs are limited in many ways, but it might be a help for some situations. (This used to be commit 83a805220e52742119546c76a054d50582e33a24)
2008-01-19Add the STREAMINFO vfs callVolker Lendecke1-0/+59
Based on jpeach's work, modified the streaminfo prototype Make use of it in trans2.c together with marshall_stream_info() (This used to be commit c34d729c7c0600a8f11bf7e489a634a4e37fe88e)
2008-01-19Fix error return in xattr_tdb_load_attrsVolker Lendecke1-1/+1
(This used to be commit 64e54ea8f76fe57193955aabc1459fe635233aca)
2008-01-18Merge DMAPI fixes from CTDB SambaAlexander Bokovoy1-41/+51
(This used to be commit cf1f90ad7a79dbe5926018790bb50d4e3b36cc7b)
2008-01-17Fix two uninitialized variables in vfs_hpuxacl.cVolker Lendecke1-2/+2
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208. Volker (This used to be commit a3b36c3cb0fe5f3e78c200290afa59829934f496)
2008-01-17Remove is_remotestorage() call from VFS. We already have statvfs() there to ↵Alexander Bokovoy2-15/+12
handle FS capabilities. As discussed with Volker, it is better to calculate FS capabilities at connection time. We already do this with help of VFS statvfs() call which allows to fill-in system-specific attributes including FS capabilities. So just re-use it if you want to represent additional capabilities in your modules. The only caution is that you need to call underlying statvfs() call to actually get system-specific capabilities (and other fields) added. Then add module-specific ones. (This used to be commit e342ca0d931f9a5c8ec9e472dc9c63f1fe012b3a)
2008-01-17Rework of VFS is_offline() function to only return boolean offline/online ↵Alexander Bokovoy2-15/+11
result for a file. This makes sense as upper levels are only taking returned result of 0 (no error) into consideration when deciding whether to mark file offline/online as returned from is_offline. That means that we simply can move the decision down to VFS module and clean up upper levels so that they always see only file status. If there is an error when trying to identify file status, then VFS module could decide what to return (offline or online) by itself -- after all, it ought to have system-specific knowledge anyway. (This used to be commit 75cc08661473cce62756fa062071bb2bc1fb39ec)
2008-01-17Fix more VFS API mixup with offline filesAlexander Bokovoy1-5/+4
I'm sorry for this mess. :-( (This used to be commit e1f5a8f10795831d3c7902d9803c9571c8ac811a)
2008-01-16Fix the mess that ab just made of the new VFS code.Jeremy Allison1-12/+19
NEEDS MORE TESTING ! Jeremy. (This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
2008-01-16Fix an uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit dcb7fb2c0d8e4b798b36e8caf480d198f3e08d00)
2008-01-16Fix some C++ warningsVolker Lendecke1-2/+2
(This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
2008-01-16Add offline storage support with Tivoli Storage Manager Space ManagerAlexander Bokovoy1-0/+338
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit d7752449f38747d59c93869656a5f7c02ebdf084)
2008-01-16Merge a variant of Shadow Copy module for exposing snapshots to windows ↵Alexander Bokovoy1-0/+637
clients as shadow copies from Samba 3.0 CTDB This is a 2nd implemetation of a shadow copy module for exposing snapshots to windows clients as shadow copies. This version has the following features: 1) you don't need to populate your shares with symlinks to the snapshots. This can be very important when you have thousands of shares, or use [homes] 2) the inode number of the files is altered so it is different from the original. This allows the 'restore' button to work without a sharing violation Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 10c2ae1efd799b44255ce82c3bb0c7c9df0ec634)
2008-01-16Support GPFS prealloc interfaceAlexander Bokovoy1-0/+8
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit c26e355533e473c4386d0e6d651637e71d4231dc)
2008-01-16Merge latest fixes to vfs_gpfs and NFS4 ACLs from Samba 3.0 CTDB branch ↵Alexander Bokovoy4-97/+423
(from http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 1daad835cbfb4615a8fe7a241f4d578f7e69f214)
2008-01-16Add support for offline files support, remote storage, and Async I/O force ↵Alexander Bokovoy1-0/+42
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)
2008-01-15ea_tdb->xattr_tdb also inside the module itselfVolker Lendecke1-98/+99
(This used to be commit 642424b3779dd33cd2b5049789aa16e678438bb9)
2008-01-15rename vfs_ea_tdb to vfs_xattr_tdbVolker Lendecke1-0/+0
(This used to be commit 151b42a150a17f566e7b4055bbdbc0564a3c106d)
2008-01-15Implement vfs_ea_tdbVolker Lendecke1-0/+736
This is an option for file systems that do not implement xattrs: in lockdir/eas.tdb an array of xatts per inode is stored. It can not solve the problem that xattrs might reappear if a posix-level process deletes a file and happens to re-create it under the same name. On file systems with birthtime we might have a chance to detect this, but not with standard posix. A future version might put relief on file systems that do have xattrs but where these are severely limited in size/speed/whatever: We can put a simple marker as a native xattr, but the xattrs proper are stored in the tdb. Volker (This used to be commit 2036b4c5ad677b8a477b34b0f076febab0abff5e)
2008-01-11Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam2-8/+6
Michael (This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
2008-01-11Remove now redundant parameter fd from prime_cache().Michael Adam1-5/+4
Michael (This used to be commit 63acaf1b9755cd5be5342929e1210afa06e170f3)
2008-01-11Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam4-19/+15
Michael (This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
2008-01-10Fix the build of the cacheprime VFS module after API changes.Michael Adam1-4/+3
Sorry, that had escaped my attention. Michael (This used to be commit 88102b5b7c4eaad5445e9cb96e547dd918abc0c2)
2008-01-10Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam3-11/+10
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10Remove redundant parameter fd from SMB_VFS_READ().Michael Adam3-9/+9
Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
2008-01-08Remove redundant parameter fd from SMB_VFS_AIO_CANCEL().Michael Adam2-5/+5
Michael (This used to be commit 3c997ae0002d4c50e8899600c17ddf74ac61f6f0)
2008-01-08Remove redundant parameter fd from SMB_VFS_FSETXATTR().Michael Adam3-8/+7
Michael (This used to be commit 0bd2643463a9160c8a1c7e1c2f8cca7b89060e09)
2008-01-08Remove redundant parameter fd from SMB_VFS_FREMOVEXATTR().Michael Adam3-7/+7
Michael (This used to be commit bfc3b5a27f707d3e4b8d5d66192891e22365fbb3)
2008-01-08Remove redundant parameter fd from SMB_VFS_FLISTXATTR().Michael Adam2-5/+5
Michael (This used to be commit 167649b3b8bc293f8434ffc9fb5f80463e4e75be)
2008-01-08Remove redundant parameter fd from SMB_VFS_FGETXATTR().Michael Adam3-7/+7
Michael (This used to be commit 2cb739a82dc6bb194d60718cc74b26ee7c1c46a7)