diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-20 12:20:55 +1100 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-20 12:26:22 +1100 |
| commit | e7e51ddb64cb362d3417eaae7c8d7fd5a5c4ea4d (patch) | |
| tree | c65e45786149b97f06f152a286b613db7eb628da /ctdb/include/ctdb_protocol.h | |
| parent | 6a493a0b08a8751ee9265047152851e00b9bf443 (diff) | |
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)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
| -rw-r--r-- | ctdb/include/ctdb_protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index ec52f5626c..8b113c3a0e 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -501,7 +501,8 @@ enum ctdb_trans2_commit_error { struct ctdb_ltdb_header { uint64_t rsn; uint32_t dmaster; - uint32_t reserved1; + uint16_t laccessor; + uint16_t lacount; #define CTDB_REC_FLAG_DEFAULT 0x00000000 #define CTDB_REC_FLAG_MIGRATED_WITH_DATA 0x00010000 #define CTDB_REC_FLAG_VACUUM_MIGRATED 0x00020000 |
