summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2008-04-19ntvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERICStefan Metzmacher1-0/+17
metze (This used to be commit b781bb733c9a563457f87c94abe8c91b426c07ee)
2008-04-19ntvfs_generic: fix mapping the granted oplocks for SMB2Stefan Metzmacher1-3/+3
metze (This used to be commit 60c4a4fc1afe88716ac63d3ea430e07fea7b9991)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij2-3/+28
(This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij3-5/+11
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-2/+26
Conflicts: source/ntvfs/ntvfs_generic.c (This used to be commit a626a9c69cb2c07c8de69dcfe45361f86d6de58d)
2008-04-17ntvfs_generic: map SMB2 oplock levels to the generic onesStefan Metzmacher1-2/+27
metze (This used to be commit 9013748273378f88bfc66d3583814f0fee67c40f)
2008-04-17Require explicit event context rather than looking if it is not specified.Jelmer Vernooij1-1/+1
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)
2008-04-17Explicitly require event context to be specified.Jelmer Vernooij2-1/+5
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij1-2/+0
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-16Use readily available event context.Jelmer Vernooij1-1/+1
(This used to be commit 2823fca23a4cacc996c808f22cba50b4482b5921)
2008-04-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell8-63/+54
(This used to be commit e891157b4ec7b2f845fb20c4106d80bf169f2072)
2008-04-14fixed a valgrind error in id mappingAndrew Tridgell1-1/+1
the status field is sent on both call and reply, but was only being initialised on reply (This used to be commit 2ebd7b80998775168959d511fbc987f8b5b7bd34)
2008-04-14fixed an unitialised write warning in valgrindAndrew Tridgell1-0/+1
the 'reserved' field was not being initialised before being pushed to the wire (This used to be commit dfe4b5009885c4eeca24569f35b9fc85bfe6346b)
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)