Age | Commit message (Collapse) | Author | Files | Lines |
|
Alexander, please check!
(This used to be commit df574fd2ee58f008b93b06f4d78c85cb909cc92c)
|
|
(This used to be commit c2b2a9303d9c84ba4e059f13de9ccc401d08bd59)
|
|
Thanks to Ricardo Santos
(This used to be commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
|
|
This is used for two purposes:
First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.
Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.
Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)
|
|
Michael
(This used to be commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b)
|
|
Bug 5279 -- Thanks to Max Matveev
(This used to be commit 71641f04d4e9a41775e898f2e4ac3c8792783cd3)
|
|
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)
Karolin
(This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
|
|
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.
Patch for Samba 3.2 Test branch below.
Cheers, David D
(This used to be commit d9b72282c63b57c8e54131306b2a3028a1ea41dc)
|
|
(This used to be commit 863b5ed07aca0978aeaf919d7c51204a95ce03e0)
|
|
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)
|
|
(This used to be commit 58dce4cdf277c8c68865185d9d8b4faea996dd3e)
|
|
Thanks to metze for pointing this out
(This used to be commit c94c04e3e6f6ae243a55534a76654755bff55651)
|
|
(This used to be commit 42d06d41bf2e9fb094f6064dc04f549d880b5f8d)
|
|
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
|
|
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
|
|
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
|
|
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
|
|
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)
|
|
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
|
|
(This used to be commit d7e6ec2258350c564053371361c8f1d7d0f775b1)
|
|
(This used to be commit 023b313d0d4ed3beb8d77177bc8141cadeb86658)
|
|
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)
|
|
(This used to be commit 8db25aba63b1dffb0dfbc74012c7ebd0ce4d5682)
|
|
(This used to be commit d481dddc81699aba79e48bca79bfb10e586b5cbb)
|
|
This must have been lost somewhere in my patch-mangling
(This used to be commit c1794375d1fa27d72ec32946bb4bd7b9f96e59fc)
|
|
(This used to be commit 3509ee597f0977aadd4c70cfe8830a6aa95cd71f)
|
|
(This used to be commit dac468216e7e103b6897f33ec3608412f77265cf)
|
|
Store streams in a file each. Not 100% finished, and not built by default.
(This used to be commit 5f5fc72b01c8e8fc096375c7cb4a97186c387259)
|
|
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)
|
|
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)
|
|
(This used to be commit 64e54ea8f76fe57193955aabc1459fe635233aca)
|
|
(This used to be commit cf1f90ad7a79dbe5926018790bb50d4e3b36cc7b)
|
|
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208.
Volker
(This used to be commit a3b36c3cb0fe5f3e78c200290afa59829934f496)
|
|
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)
|
|
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)
|
|
I'm sorry for this mess. :-(
(This used to be commit e1f5a8f10795831d3c7902d9803c9571c8ac811a)
|
|
NEEDS MORE TESTING !
Jeremy.
(This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
|
|
(This used to be commit dcb7fb2c0d8e4b798b36e8caf480d198f3e08d00)
|
|
(This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
|
|
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit d7752449f38747d59c93869656a5f7c02ebdf084)
|
|
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)
|
|
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit c26e355533e473c4386d0e6d651637e71d4231dc)
|
|
(from http://samba.org/~tridge/3_0-ctdb)
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 1daad835cbfb4615a8fe7a241f4d578f7e69f214)
|
|
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)
|
|
(This used to be commit 642424b3779dd33cd2b5049789aa16e678438bb9)
|
|
(This used to be commit 151b42a150a17f566e7b4055bbdbc0564a3c106d)
|
|
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)
|
|
Michael
(This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
|
|
Michael
(This used to be commit 63acaf1b9755cd5be5342929e1210afa06e170f3)
|
|
Michael
(This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
|