summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_tsmsm.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-01s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)Michael Adam1-1/+1
Michael
2008-08-26fixed an errno handling bug that could lead to an infinite loopAndrew Tridgell1-2/+2
(This used to be commit 5ccdc58ce91ee40ca7171dd040191291aeb7fe02)
2008-08-26fixed tsmsm_sendfile(). The logic was totally broken.Andrew Tridgell1-4/+7
(This used to be commit 794e48b809036871287df8416a2c669b7e26f216)
2008-04-08Use size_t for strlen return, not int. Karolin pleaseJeremy Allison1-1/+1
pull. Jeremy. (This used to be commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff)
2008-04-08Allow broader range of HSM systems in vfs_tsmsmAlexander Bokovoy1-5/+31
Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'. Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence* of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result. Port from Tridge's v3-0-ctdb git tree. (This used to be commit 1faa97d5cc51277abbc6cb5c37d31c429bea04e4)
2008-03-20Fix some warnings in the tsmsm moduleVolker Lendecke1-4/+6
Alexander, please check! (This used to be commit df574fd2ee58f008b93b06f4d78c85cb909cc92c)
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-18Merge DMAPI fixes from CTDB SambaAlexander Bokovoy1-41/+51
(This used to be commit cf1f90ad7a79dbe5926018790bb50d4e3b36cc7b)
2008-01-17Remove is_remotestorage() call from VFS. We already have statvfs() there to ↵Alexander Bokovoy1-6/+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 Bokovoy1-9/+7
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-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)