Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move over to RELEASE branch. | Jeremy Allison | 2002-02-01 | 1 | -32/+23 |
| | | | | Jeremy. | ||||
* | Sync-up with SAMBA_2_2 branch. | Jeremy Allison | 2001-10-11 | 1 | -2/+6 |
| | | | | Jeremy. | ||||
* | Syncup getting ready for release. | Jeremy Allison | 2001-07-06 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | But Doctor, I had to kill the patient in order to save him.... | Jeremy Allison | 2001-02-21 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | This will probably break 2.2 for a while. Do *NOT* checkout unless you like core dumps. This is the first merge of the TNG SAMR code into 2.2. It will eventually give us a wonderful PDC, but maybe painful in the short term. It had to be done however, and this touches almost every file (mostly just removing the OLD_NT_DOMAIN) stuff. I removed some SAMR functionality from rpcclient that would no longer compile. Also changed fstring to 256 bytes to better match an NT pathname. Jeremy. | ||||
* | allow the notify implementation to choose the select timeout change | Andrew Tridgell | 2000-06-14 | 1 | -2/+2 |
| | |||||
* | enable the Linux change notify code and change some notify debug code | Andrew Tridgell | 2000-06-12 | 1 | -1/+4 |
| | |||||
* | totally rewrote the async signal, notification and oplock notification | Andrew Tridgell | 2000-06-12 | 1 | -284/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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! | ||||
* | fixed comments at top of module | Andrew Tridgell | 2000-06-12 | 1 | -2/+3 |
| | |||||
* | split all the change notify code out into a separate module | Andrew Tridgell | 2000-06-12 | 1 | -0/+392 |
smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you) |