diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-04-12 06:08:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:03 -0500 |
commit | c8610144f73a6cbc26c58f57a527f7cbcb44b265 (patch) | |
tree | a2be53d1ba3d22e1be1c00981d912056fa00136e /source4/lib/messaging/messaging.h | |
parent | 289911bb4e7980bf42cc87305d3f94477c5f2b75 (diff) | |
download | samba-c8610144f73a6cbc26c58f57a527f7cbcb44b265.tar.gz samba-c8610144f73a6cbc26c58f57a527f7cbcb44b265.tar.bz2 samba-c8610144f73a6cbc26c58f57a527f7cbcb44b265.zip |
r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.
I have updated the LOCAL-MESSAGING test to use the new function.
(This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)
Diffstat (limited to 'source4/lib/messaging/messaging.h')
-rw-r--r-- | source4/lib/messaging/messaging.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h index 86f5db2c17..5324c530ea 100644 --- a/source4/lib/messaging/messaging.h +++ b/source4/lib/messaging/messaging.h @@ -34,4 +34,7 @@ struct messaging_context; #define MSG_PVFS_NOTIFY 7 #define MSG_NTVFS_OPLOCK_BREAK 8 +/* temporary messaging endpoints are allocated above this line */ +#define MSG_TMP_BASE 1000 + #endif |