summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij5-63/+42
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij1-1/+2
(This used to be commit 9d3d64e1387e9f20383c255bba27128cf4b9519e)
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij3-0/+12
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-14fill in unknown fields in SMB2 READ callAndrew Tridgell1-1/+2
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-04-02ntvfs: Use wbclient for pvfs_acl and pvfs_acl_nfs4Kai Blin4-49/+166
(This used to be commit ac5e5fee1db2999053dee82d1fcf97ca8799c9b5)
2008-04-02ntvfs: Use wbclient in vsf_unixuid, not sidmapKai Blin1-22/+50
(This used to be commit 2908a77fa5c32e92665775a5785345f704202f0a)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij1-1/+1
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij9-112/+113
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-27Fix references to ntvfs share configAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
2008-03-27Make oplocks a per-share option.Andrew Bartlett1-2/+1
This even goes via the share options system (a very odd layer of indirection). Andrew Bartlett (This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
2008-03-15pvfs_open: set h->have_opendb_entry directly after odb_open_file()Stefan Metzmacher1-2/+2
Otherwise we may not clean up in the destructor. metze (This used to be commit 218ec98a1694080748d1ac12baa90ffcda364833)
2008-03-15pvfs_open: the pvfs_odb_retry structs need to be children of the requestStefan Metzmacher1-2/+0
Otherwise they're not cleaned up when the request is finished. metze (This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a)
2008-03-15pvfs_unlink: disable async retries for wildcard deletesStefan Metzmacher1-0/+6
We would setup multiple retries per client request. metze (This used to be commit 951764e28407a53ea4dd39d34388fab1b2259785)
2008-03-12pvfs_open: retry pvfs_open() after an EGAIN or EWOULDBLOCK from open()Stefan Metzmacher1-4/+54
In case a unix application as an oplock or share mode on a file we need to retry periodicly as there's no way to get a notification from the kernel when the oplock is released. metze (This used to be commit 4d40f3a02643b4cdacee31f0b7bc9fc77cc9869a)
2008-03-12pvfs_open: pass O_NONBLOCK to open() so that we'll not block with kernel oplocksStefan Metzmacher1-2/+2
metze (This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
2008-03-12opendb_tdb: use sys_lease to setup kernel oplocksStefan Metzmacher2-9/+42
metze (This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASEStefan Metzmacher3-0/+233
metze (This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
2008-03-12ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocksStefan Metzmacher3-0/+215
metze (This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
2008-03-12pvfs_open: pass down &f->handle->fd to odb_open_file()Stefan Metzmacher1-31/+30
metze (This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
2008-03-12opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher3-4/+6
This prepares kernel oplock support. metze (This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-12ntvfs/cifs: fix the fnum on RAW_RENAME_NTTRANSStefan Metzmacher1-0/+7
metze (This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
2008-03-12pvfs_rename: implement RAW_RENAME_NTTRANS as noop as w2k3Stefan Metzmacher1-1/+10
metze (This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
2008-03-11pvfs: return NT_STATUS_NOT_IMPLEMENTED on RAW_RENAME_NTTRANSStefan Metzmacher1-0/+3
metze (This used to be commit 6dc280731d071681b635a2f091be2b153a902080)
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-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-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-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)