summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix annoying debug messages when no snapshots are usedVolker Lendecke2009-04-281-2/+3
| | | | | | | | Not being able to open the shadow copy directory is the same as having no shadow copy support at all. The VFS module should in this case not log with debug level 0 and set ENOSYS to indicate "no shadow copies used" to the higher levels. (cherry picked from commit 4982483cdd2a4d37f96574c19dd3aade236c1b93)
* s3 onefs: Fix case-insensitivity for mangled namesTim Prouty2009-04-151-0/+12
| | | | | | | onefs_get_real_filename needs to demangle the filename before doing the case-insensitive estat (cherry picked from commit 161bd7f78fd10e4f850dc3ef1ba3df53c43eae30) (cherry picked from commit ed6388ee3a96972b7bf7df79c9ca0b63bfb84380)
* Make some functions static to vfs_gpfs.cVolker Lendecke2009-04-151-14/+14
| | | | (cherry picked from commit 27a6aebfed6ad7c89e72dfe0a05400b972f9aa12)
* Add prototype for smbd_gpfs_get_realfilename_pathVolker Lendecke2009-04-151-0/+2
| | | | (cherry picked from commit 25d87012ae5e7a5e76f33aa3ef34d977f2f6ca8b)
* Fix two c++ warnings in vfs_gpfs.cVolker Lendecke2009-04-151-2/+2
| | | | (cherry picked from commit c4dbc794f78900c50faec036264b5c556d6a700b)
* s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty2009-04-151-21/+16
| | | | | (cherry picked from commit 87fe4d732d18d18ed56c99cba6a395a0bf9e9d95) (cherry picked from commit 9258adeac95e7fca025a72ce39e2d70fa5a665cd)
* s3 onefs: Add missing newlines to debug statements in the onefs moduleTim Prouty2009-04-154-15/+16
| | | | | (cherry picked from commit 74246650613cca9ec57c9a0eff75c53a5c15b110) (cherry picked from commit 23876eba5f22b5953339b23bf25262d53acce994)
* s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while ↵Zack Kirsch2009-04-151-2/+2
| | | | | | | | | running many of the LOCK torture tests. Return true from the onefs cancel function if we've errored, which can happen when the CBRL domain is configured to only give out 1 lock. :) (cherry picked from commit bfc7bb49ff0b842a1a372cee7d2affb49c2a0e54) (cherry picked from commit 1197d4538c716fc0fbf3625f6b8b1a2b566cffaa)
* Add missing newlines to debug statementsSteven Danneman2009-04-151-2/+2
| | | | | (cherry picked from commit 365b5cfcbeb041ce84718717f30ac02183c9af7f) (cherry picked from commit 2ab9a15f4ae08155474222a857afd70bfdfc4a44)
* Fix the build of nfsv4_acls.cVolker Lendecke2009-04-151-1/+1
| | | | | | .. after adding smb_iconv_convenience to ndr_size_security_descriptor() (cherry picked from commit 9e70a960b78b8c2ca7c308a4ff9af9011804585c) (cherry picked from commit d3289c3e7df5951c1634642f026fc7873579b235)
* Try and fix the build farm RAW-STREAMS errors. Ordering ofJeremy Allison2009-04-151-2/+2
| | | | | | | | modules shouldn't matter, so as vfs_streams_depot doesn't implement get/setxattrs then call into the full VFS stack at the top. Jeremy (cherry picked from commit 5e77abe108bab07c04f5c7186b63a4c0fef59721)
* s3 onefs: Change error status to NT_ACCESS_DENIED for errors in ↵David Kwan2009-04-151-5/+5
| | | | | | | SET_SECURITY_DESC (cherry picked from commit ad98eae02e623a8ca8aa6a1c46d5aedea50e2e4b) (cherry picked from commit 7d5996e1d5eca454f651ca49a357d28077446309)
* Use StrCaseCmp in the dirsort moduleVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit fcd02076d7562d2bc222dd15d2cd0a8fff58d5cf)
* Add dirsort moduleAndy Kelk2009-04-151-0/+194
| | | | (cherry picked from commit 2364bc8dcd46ca66e06e1dd8d4ed224611d65330)
* s3 onefs: Correctly error out when the read returns EOFTim Prouty2009-04-151-5/+9
| | | | | Also add some more debugging. (cherry picked from commit a398deb3fe71a6c4c237b1f64dd7bbb8cb6bfa28)
* s3: Don't return in a void funtionTim Prouty2009-04-151-1/+1
| | | | (cherry picked from commit a6b0a884d9ef247470e6ec54ce8fab3a77c07864)
* s3 OneFS: Add kernel strict locking supportDave Richards2009-04-153-10/+95
| | | | (cherry picked from commit f5a1f68ee39ee1b31253acdb392d9d62f96a3c0e)
* s3: Add strict lock/unlock calls to the vfs layer to replace is_lockedDave Richards2009-04-152-0/+64
| | | | (cherry picked from commit 2d5e98e7e5a737dde360ab3490fff786fa0703b6)
* Add a vfs_preopen module to hide fs latenciesVolker Lendecke2009-03-101-0/+456
|
* s3 OneFS: Use the public open_streams_for_deleteTim Prouty2009-03-041-113/+0
|
* Fix crashes when running RAW-ACLs against system with tdb ACL modulesJeremy Allison2009-03-042-3/+3
| | | | | (caused by the POSIX pathname fixes). Jeremy.
* Make use of gpfs_get_real_filename optionalVolker Lendecke2009-03-042-1/+10
|
* s3 OneFS: Add parameter to ignore streamsTim Prouty2009-03-034-3/+17
|
* s3 OneFS: Refactor config code and cleanup includesTim Prouty2009-03-0111-385/+453
|
* Use fsp->posix_open in preference if we have it.Jeremy Allison2009-02-252-7/+7
| | | | Jeremy.
* Ensure ACL modules work with POSIX paths.Jeremy Allison2009-02-252-22/+79
| | | | Jeremy.
* s3 OneFS: Add .snapshot directory configuration handlingTim Prouty2009-02-254-27/+201
|
* Fix use of streams modules with CIFSFS client.Jeremy Allison2009-02-252-4/+25
| | | | Jeremy.
* s3 OneFS: Fix uninitialized variableTim Prouty2009-02-241-1/+1
|
* s3: onefs_acl.c cleanupDan Sledz2009-02-241-4/+1
| | | | | Remove some duplicate code. Add a \n to a debugging statement
* S3: Add in profile counters for new vfs and syscall entries.todd stecher2009-02-244-6/+65
|
* s3 OneFS: Add a parameter that unconditionally allows execute accessTim Prouty2009-02-232-0/+26
|
* More warning fixes for Solaris.Jeremy Allison2009-02-231-4/+4
| | | | Jeremy.
* More warning fixes for Solaris.Jeremy Allison2009-02-231-4/+5
| | | | Jeremy.
* Quieten down a boatload of shadowed variable warnings on Solaris.Jeremy Allison2009-02-232-47/+47
| | | | | Makes real problems easier to spot. Jeremy.
* s3 OneFS: Add an atomic sendfile implementationTim Prouty2009-02-213-0/+282
|
* s3 OneFS: Add debugging for createfile_flagsZack Kirsch2009-02-201-12/+15
|
* s3: OneFS implementation of change notifySteven Danneman2009-02-203-0/+691
| | | | | | | | | | | | | | | The OneFS Samba implementation of change notify is modeled after the usage of Linux's inotify kernel subsystem. A single call is made into the onefs.so VFS module to initialize kernel tracking of certain file change events. When these events occur a kernel notification is sent to smbd and the notification event is translated and given to the general Samba Change Notify layer through a callback function. The most difficult aspect is converting an SMB CompletionFilter to a matching ifs_event mask, and then back to an appropriate change notify action. Currently, not all possible cases are handled by the this module, but the most prevalent ones, which are tested by smbtorture, are implemented.
* Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.Jeremy Allison2009-02-201-1/+7
| | | | | | | As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD permission bit (which we require before allowing a delete) no one can delete files without an explicit DELETE_CHILD bit set on the directory. Add this mapping. Jeremy.
* s3 OneFS: Add shadow copy moduleTim Prouty2009-02-193-0/+1531
|
* s3 OneFS: Add file_id_create implementation to take advantage of snapshotsTim Prouty2009-02-191-0/+18
|
* s3: Add extid to the dev/inode pairTim Prouty2009-02-193-0/+10
| | | | | | | | | | | This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid.
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-195-20/+29
| | | | | Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
* s3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs.Zack Kirsch2009-02-191-1/+11
|
* S3: Make changes to perfcount API set for when a single request leads to ↵todd stecher2009-02-192-13/+98
| | | | | | multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).
* s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.Zack Kirsch2009-02-181-3/+4
|
* s3: Fix OneFS bug opening streams with truncating dispositionAravind Srinivasan2009-02-181-1/+1
| | | | | Do not attempt to delete streams on a truncating open, if the name we're opening is itself a stream
* s3: Fix streams enumeration bug in OneFS implementationAravind Srinivasan2009-02-183-18/+68
| | | | | | | | | | | | | Previously, we didn’t call SMB_VFS_OPEN_DIR from the streams module, instead we called fdopendir(). As a result we failed to populate the dir_state list in the readdirplus module. So when we tried to view the stream data, we will always returned NULL. To solve this I separated onefs_opendir() and the initialization of the dir_state list. This is done by introducing a new utility function “onefs_rdp_add_dir_state()”, which initializes the dir_state structure and adds it to the dir_state list. This function is called from the streams module before calling readdir().
* s3 perfcount: Fix segfault with smbclient 'echo 3 foo'Tim Prouty2009-02-161-33/+11
|
* s3 OneFS: Add defaults to the fake timestamp parametersTim Prouty2009-02-162-8/+19
|