diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2014-03-10 19:10:29 +1100 |
|---|---|---|
| committer | Martin Schwenke <martins@samba.org> | 2014-03-28 05:28:58 +0100 |
| commit | f99a759ce7cb5492442c018f976619f0ba439a43 (patch) | |
| tree | 3990213bd1fd6f2e1a87c198e9abbf6d78d67b95 /python | |
| parent | d1c8f8d63506c099e2ee9be7cb91f0fac4a8d848 (diff) | |
| download | samba-f99a759ce7cb5492442c018f976619f0ba439a43.tar.gz samba-f99a759ce7cb5492442c018f976619f0ba439a43.tar.xz samba-f99a759ce7cb5492442c018f976619f0ba439a43.zip | |
ctdb-locking: Instead of comparing key, compare key hash
This replaces memory comparison of the key with integer comparison.
In addition, this also avoids scheduling locks with the same hash.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar 28 05:28:58 CET 2014 on sn-devel-104
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
