LACOUNT: Add back lacount mechanism to defer migrating a fetched/read copy until...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 01:20:55 +0000 (12:20 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 01:26:22 +0000 (12:26 +1100)
commite7e51ddb64cb362d3417eaae7c8d7fd5a5c4ea4d
treec65e45786149b97f06f152a286b613db7eb628da
parent6a493a0b08a8751ee9265047152851e00b9bf443
LACOUNT:  Add back lacount mechanism to defer migrating a fetched/read copy until after default of 20 consecutive requests from the same node

This can improve performance slightly on certain workloads where smbds frequently read from the same record

(This used to be ctdb commit 035c0d981bde8c0eee8b3f24ba8e2dc817e5b504)
ctdb/client/ctdb_client.c
ctdb/common/ctdb_ltdb.c
ctdb/include/ctdb_private.h
ctdb/include/ctdb_protocol.h
ctdb/server/ctdb_call.c
ctdb/server/ctdb_tunables.c