summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2008-03-08Fix the build.Jelmer Vernooij2-0/+11
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij2-2/+0
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-136/+110
(This used to be commit cffaf5f6030b5d9b6d4d802b557fd8ea7afd043d)
2008-03-08opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lockStefan Metzmacher1-135/+109
That means we only have to parse the record once and as the tdb record is locked the in memory copy is always the same as the one in the tdb. metze (This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
2008-03-08opendb_tdb: correctly initialize modified to falseStefan Metzmacher1-1/+1
Otherwise this variable would never change its value... metze (This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
2008-03-07Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij5-89/+134
(This used to be commit ac27a1451dfe5c0c957e93fdc84602c3c1c7deac)
2008-03-07pvfs_open: fix the odb_open_file() callersStefan Metzmacher1-16/+8
metze (This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
2008-03-07opendb: force odb_can_open() before odb_open_file()Stefan Metzmacher3-65/+72
Now there's only odb_can_open() which handles the share_access rules. And odb_open_file() only adds the new opendb_entry into the database and calculates the granted oplock level. metze (This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
2008-03-07pvfs_open: always call odb_can_open() before odb_open_file()Stefan Metzmacher1-6/+45
odb_open_file() will later change to not redo the logic of odb_can_open(). metze (This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
2008-03-07opendb_tdb: pass down struct messaging_context directly to ↵Stefan Metzmacher1-5/+8
odb_oplock_break_send() metze (This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
2008-03-07vfs_cifs: disable level2 oplocks if the frontend client doesn't support themStefan Metzmacher1-1/+5
metze (This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)
2008-03-07Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij8-82/+183
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
2008-03-06pvfs_open: pass down allow_level_II_oplock to odb_open_file()Stefan Metzmacher1-4/+16
metze (This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)
2008-03-06opendb: add allow_level_II_oplock parameter to odb_open_file()Stefan Metzmacher3-12/+25
Not all clients support a fallback to level II oplocks. metze (This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
2008-03-06pvfs_open: fix crash/leak in case pvfs_setup_oplock() failsStefan Metzmacher1-6/+5
metze (This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)
2008-03-06ntvfs: pass down the client capabilities into the ntvfs layerStefan Metzmacher3-0/+19
Note that we don't use any protocol specific values here. For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined others should be defined, when we find out that the ntvfs layer needs to know about it. metze (This used to be commit cc42cd5f6753ca582677fa6f403f0419eec5ab10)
2008-03-04pvfs_oplock: auto release oplocks after a timeoutStefan Metzmacher1-6/+61
Remember that we sent an oplock break to a client and don't resend. If the filesystem layer tries to send a new break and the client has not released after a former oplock break after the timeout interval, we need to auto release the oplock. metze (This used to be commit bfb0888578677856b2b6b72471f542d0d5d7b838)
2008-03-04pvfs_oplock: only a break level2 oplocks...Stefan Metzmacher1-11/+1
It seems that I've tested this in the wrong way before. metze (This used to be commit 21772fa33d772a9df6ff04a0ed1b0d8f4f533295)
2008-03-04pvfs_oplock: move pvfs_oplock_release() parts into a helper functionStefan Metzmacher1-43/+56
metze (This used to be commit 2b8934e4ab2dd9673928a6c9a291aedac1ebaa95)
2008-03-04Deal with subsystems with no settings, several other minor fixes.Jelmer Vernooij1-1/+1
(This used to be commit 10cf48591e8d6bfb750a6ff187f04ea24a1f8cd7)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij5-46/+36
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-03-01pvfs_rename: move odb_rename() onto pvfs_do_rename()Stefan Metzmacher2-17/+13
metze (This used to be commit 5a1f0c0ce995064c23e9f726bceddbd8442c4293)
2008-02-29pvfs_setfileinfo: support renaming of directoriesStefan Metzmacher1-5/+0
metze (This used to be commit 2ecc7ec8b392cf3ec698d168bf6fb7898e1978f1)
2008-02-29pvfs_setfileinfo: tell the opendb about renamesStefan Metzmacher1-3/+22
metze (This used to be commit 9360eda2c5606b2c73edb768af8ca0e8ba310e30)
2008-02-29pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfoStefan Metzmacher2-2/+2
metze (This used to be commit 4b1a266f6fb04c8f923c48ea215ece6b45a18ea7)
2008-02-29pvfs_resolve: add pvfs_resolve_name_handle()Stefan Metzmacher1-0/+80
metze (This used to be commit 714717253c035b31fc850df8456f8cf2b38bcb72)
2008-02-29pvfs_resolve: "\\" and a trailing "\" need to be reducedStefan Metzmacher1-2/+9
metze (This used to be commit 356338b99a67bfaf09618f5ed7c8f5c4ff69fa06)
2008-02-29pvfs_resolve: fix endless loop with trailing ".."Stefan Metzmacher1-1/+1
We also need to move the NULL termination. metze (This used to be commit 4fc41065a31cc8bd477ff5bf2d89f9f595002227)
2008-02-29opendb: add odb_get_path()Stefan Metzmacher3-0/+29
metze (This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
2008-02-29pvfs_open: make pvfs_locking_key() non staticStefan Metzmacher1-2/+2
metze (This used to be commit 587373b97b95a8e562c3a5a59a62abade4dfed2f)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-28Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij5-15/+17
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
2008-02-28pvfs_open: fix callers of odb_get_delete_on_close()Stefan Metzmacher1-2/+2
metze (This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)
2008-02-28opendb: only return delete_on_close on odb_get_delete_on_close()Stefan Metzmacher3-18/+6
metze (This used to be commit e699633db2d377a9077ff490208da277e250239b)
2008-02-28pvfs: remove unused args from pvfs_delete_on_close_set()Stefan Metzmacher2-5/+4
metze (This used to be commit 73f12be7c6a648d4d5336328a340510ac7b1d6de)
2008-02-28pvfs_open: use the delete_path of odb_close_file()Stefan Metzmacher1-49/+35
metze (This used to be commit c78451ce0618de92321430d2b50f9a8172d283f4)
2008-02-28opendb: return the path that should be deleted in odb_close_file()Stefan Metzmacher3-5/+18
That means the last close returns the path name if the delete_on_close flag is set. metze (This used to be commit fc27730bad24e8dddaa2e7f754a16811e38a2f60)
2008-02-27pvfs_rename: we need a do a odb_rename() after pvfs_do_rename()Stefan Metzmacher1-0/+3
metze (This used to be commit f4f593a1acd4a39f7be639465f0be4b3a97a9bfc)
2008-02-27pvfs_rename: add retry logic after sharing violation or non granted oplockStefan Metzmacher1-2/+103
metze (This used to be commit 79e42a5dfbfd59b856bca16456295cd2c93ab0ca)
2008-02-27opendb_tdb: EXCLUSIVE oplock use the same matching logicStefan Metzmacher1-3/+21
metze (This used to be commit 48e703d5a6b8a7b273d0bf15fc6198ef25b0a7c4)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij16-293/+1166
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
2008-02-26opendb_tdb: with break_to_none attribute only opens also break oplocksStefan Metzmacher1-2/+9
metze (This used to be commit c475353e34154eb13e35cc8b6cf553e3986f8677)
2008-02-26pvfs_open: pass down an access mask to pvfs_can_update_file_size()Stefan Metzmacher1-3/+13
You just need SEC_FILE_WRITE_ATTRIBUTE to change the filesize... metze (This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
2008-02-26pvfs_qfileinfo: down discard the return value of pvfs_can_stat()Stefan Metzmacher1-1/+1
The odb_can_open() code returns DELETE_PENDING if a delete is really pending. metze (This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)
2008-02-26pvfs_open: pass down an access mask in pvfs_can_stat()Stefan Metzmacher1-1/+1
metze (This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
2008-02-26pvfs_open: pass NTCREATEX_DISP_OPEN to odb_can_open()Stefan Metzmacher1-4/+4
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here. metze (This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
2008-02-26pvfs_setpathinfo: retry setpathinfo after oplock not granted on on ↵Stefan Metzmacher1-0/+107
setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO metze (This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)
2008-02-26pvfs_open: add pvfs_can_update_file_size()Stefan Metzmacher1-0/+62
TODO: this is not complete, we need more tests to trigger this metze (This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)
2008-02-26pvfs_unlink: retry unlink after oplock not grantedStefan Metzmacher2-7/+113
metze (This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)
2008-02-26pvfs: add posix:oplocktimeout=30 optionStefan Metzmacher2-2/+11
metze (This used to be commit 5abc57ddab558c13db3864d13afc2ad3b1641d1c)