Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
metze
(This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
|
|
metze
(This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
|
|
metze
(This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
|
|
metze
(This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
|
|
metze
(This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
|
|
This prepares kernel oplock support.
metze
(This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
|
|
metze
(This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
|
|
metze
(This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
|
|
metze
(This used to be commit 6dc280731d071681b635a2f091be2b153a902080)
|
|
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)
|
|
Otherwise this variable would never change its value...
metze
(This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
|
|
metze
(This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
|
|
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)
|
|
odb_open_file() will later change to not redo the logic of
odb_can_open().
metze
(This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
|
|
odb_oplock_break_send()
metze
(This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
|
|
metze
(This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)
|
|
metze
(This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)
|
|
Not all clients support a fallback to level II oplocks.
metze
(This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
|
|
metze
(This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)
|
|
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)
|
|
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)
|
|
It seems that I've tested this in the wrong way before.
metze
(This used to be commit 21772fa33d772a9df6ff04a0ed1b0d8f4f533295)
|
|
metze
(This used to be commit 2b8934e4ab2dd9673928a6c9a291aedac1ebaa95)
|
|
metze
(This used to be commit 5a1f0c0ce995064c23e9f726bceddbd8442c4293)
|
|
metze
(This used to be commit 2ecc7ec8b392cf3ec698d168bf6fb7898e1978f1)
|
|
metze
(This used to be commit 9360eda2c5606b2c73edb768af8ca0e8ba310e30)
|
|
metze
(This used to be commit 4b1a266f6fb04c8f923c48ea215ece6b45a18ea7)
|
|
metze
(This used to be commit 714717253c035b31fc850df8456f8cf2b38bcb72)
|
|
metze
(This used to be commit 356338b99a67bfaf09618f5ed7c8f5c4ff69fa06)
|
|
We also need to move the NULL termination.
metze
(This used to be commit 4fc41065a31cc8bd477ff5bf2d89f9f595002227)
|
|
metze
(This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
|
|
metze
(This used to be commit 587373b97b95a8e562c3a5a59a62abade4dfed2f)
|
|
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)
|
|
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
|
|
metze
(This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)
|
|
metze
(This used to be commit e699633db2d377a9077ff490208da277e250239b)
|
|
metze
(This used to be commit 73f12be7c6a648d4d5336328a340510ac7b1d6de)
|
|
metze
(This used to be commit c78451ce0618de92321430d2b50f9a8172d283f4)
|
|
That means the last close returns the path name if the
delete_on_close flag is set.
metze
(This used to be commit fc27730bad24e8dddaa2e7f754a16811e38a2f60)
|
|
metze
(This used to be commit f4f593a1acd4a39f7be639465f0be4b3a97a9bfc)
|
|
metze
(This used to be commit 79e42a5dfbfd59b856bca16456295cd2c93ab0ca)
|
|
metze
(This used to be commit 48e703d5a6b8a7b273d0bf15fc6198ef25b0a7c4)
|
|
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
|
|
metze
(This used to be commit c475353e34154eb13e35cc8b6cf553e3986f8677)
|
|
You just need SEC_FILE_WRITE_ATTRIBUTE to change
the filesize...
metze
(This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
|
|
The odb_can_open() code returns DELETE_PENDING if
a delete is really pending.
metze
(This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)
|
|
metze
(This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
|
|
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here.
metze
(This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
|
|
setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO
metze
(This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)
|