Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge of receive_local_message fix from 2.2.5. | Jeremy Allison | 2002-05-22 | 1 | -9/+9 |
| | | | | Jeremy. | ||||
* | Fix different args to sys_fcntl without going varargs.... | Jeremy Allison | 2002-04-19 | 1 | -6/+6 |
| | | | | Jeremy. | ||||
* | Added sys_fcntl (not to be used everywhere). Added sys_read/sys_write | Jeremy Allison | 2002-04-19 | 1 | -6/+6 |
| | | | | | for transfer_file. Jeremy. | ||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | Move from timestamp to gen count file id's for finding oplocked files | Jeremy Allison | 2001-10-20 | 1 | -85/+94 |
| | | | | | in a tdb. Jeremy. | ||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -1/+0 |
| | |||||
* | Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR | Jeremy Allison | 2001-03-11 | 1 | -5/+1 |
| | | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. | ||||
* | Fixes for IRIX kernel oplocks and systems that don't have nss.h | Jeremy Allison | 2000-06-20 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | totally rewrote the async signal, notification and oplock notification | Andrew Tridgell | 2000-06-12 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handling in Samba. This was needed due to several limitations and races in the previous code - as a side effect the new code is much cleaner :) in summary: - changed sys_select() to avoid a signal/select race condition. It is a rare race but once we have signals doing notification and oplocks it is important. - changed our main processing loop to take advantage of the new sys_select semantics - split the notify code into implementaion dependent and general parts. Added the following structure that defines an implementation: struct cnotify_fns { void * (*register_notify)(connection_struct *conn, char *path, uint32 flags); BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t); void (*remove_notify)(void *data); }; then I wrote two implementations, one using hash/poll (like our old code) and the other using the new Linux kernel change notify. It should be easy to add other change notify implementations by creating a sructure of the above type. - fixed a bug in change notify where we were returning the wrong error code. - rewrote the core change notify code to be much simpler - moved to real-time signals for leases and change notify Amazingly, it all seems to work. I was very surprised! | ||||
* | Linux kernel oplocks now seem to work, but need a _lot_ of testing | Andrew Tridgell | 2000-06-11 | 1 | -2/+2 |
| | | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour. | ||||
* | a first pass at Linux kernel oplocks support | Andrew Tridgell | 2000-06-10 | 1 | -2/+2 |
| | |||||
* | continued the split of the kernel level oplocks code into a more | Andrew Tridgell | 2000-06-10 | 1 | -0/+282 |
modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. |