Skip to content

Commit 26dd00d

Browse files
committed
delete redis
1 parent a7d96ed commit 26dd00d

File tree

600 files changed

+79
-193490
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

600 files changed

+79
-193490
lines changed

init_redis.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
git clone https://github.com/pmem/redis.git redis-nvml
2+
cd redis-nvml
3+
# Change to PMDK version of Redis (PMDK was named as NVML)
4+
git checkout 3.2-nvml
5+
# Apply XFDetector's patch
6+
git apply ../redis_xfdetector.patch
7+
# Add PMDK to redis dependency folder
8+
ln -s ../../pmdk/ ./deps/pmdk
9+
# Compile with PMDK enabled
10+
make USE_PMDK=yes STD=-std=gnu99
11+
# Add config for XFDetector post-failure process
12+
cp redis.conf redis_post.conf
13+
sed -i 's/port 6379/port 6380/' redis_post.conf

pmrace/runRedis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ wait
4949
# Start PMRace
5050
${PMRACE_EXE} ${CONFIG_FILE} >> ${TIMING_OUT} 2> ${DEBUG_OUT} &
5151
sleep 1
52-
${PIN_EXE} -t ${PINTOOL_SO} -t 1 -f 1 -- ${REDIS_SERVER} ${TEST_ROOT}/redis-nvml/redis.conf pmfile ${PMIMAGE} 8mb > /dev/null &
52+
${PIN_EXE} -t ${PINTOOL_SO} -t 1 -f 1 -- ${REDIS_SERVER} ${TEST_ROOT}/redis-nvml/redis.conf pmfile ${PMIMAGE} 8mb &
5353
sleep 10
5454
${REDIS_TEST} ${TESTSIZE} 9
5555
wait

redis-nvml/.gitignore

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)