aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-26 14:22:10 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-26 14:22:10 +0900
commit7a43ab6fb25924ca018073ef7ef46e16b3156bd0 (patch)
tree08b311fbea07553319c3cd651908dce9aee98505 /cache.h
parentMerge branch 'ds/coverage-diff' (diff)
parentsplit-index: BUG() when cache entry refers to non-existing shared entry (diff)
downloadgit-7a43ab6fb25924ca018073ef7ef46e16b3156bd0.tar.gz
git-7a43ab6fb25924ca018073ef7ef46e16b3156bd0.zip
Merge branch 'sg/split-index-racefix'
The codepath to support the experimental split-index mode had remaining "racily clean" issues fixed. * sg/split-index-racefix: split-index: BUG() when cache entry refers to non-existing shared entry split-index: smudge and add racily clean cache entries to split index split-index: don't compare cached data of entries already marked for split index split-index: count the number of deleted entries t1700-split-index: date back files to avoid racy situations split-index: add tests to demonstrate the racy split index problem t1700-split-index: document why FSMONITOR is disabled in this test script
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 59c8a93046..f7fabdde8f 100644
--- a/cache.h
+++ b/cache.h
@@ -783,6 +783,8 @@ extern void *read_blob_data_from_index(const struct index_state *, const char *,
#define CE_MATCH_REFRESH 0x10
/* don't refresh_fsmonitor state or do stat comparison even if CE_FSMONITOR_VALID is true */
#define CE_MATCH_IGNORE_FSMONITOR 0X20
+extern int is_racy_timestamp(const struct index_state *istate,
+ const struct cache_entry *ce);
extern int ie_match_stat(struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
extern int ie_modified(struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
span class='insertions'>+1 2018-10-20net/ipv6: Fix index counter for unicast addresses in in6_dump_addrsDavid Ahern1-2/+4 2018-10-20i2c: rcar: cleanup DMA for all kinds of failureWolfram Sang1-1/+5 2018-10-20MAINTAINERS: Add entry for Broadcom STB I2C controllerKamal Dasu1-0/+8 2018-10-20net: fix pskb_trim_rcsum_slow() with odd trim offsetDimitris Michailidis1-2/+3