About redis-2.6.0/src/replication.c:381: undefined reference to `sync_file_range'

51 views
Skip to first unread message

CharSyam

unread,
Oct 25, 2012, 4:34:57 AM10/25/12
to redi...@googlegroups.com
Hi. I'm sorry to disturb other guys.

in my former company, RHEL 5.4 is the main OS. we had to follow the rule.

so I want to solve this problem. 

There are 2 answers.

easy one is just use fsync instead of sync_file_range but it is slower than sync_file_range.

another is using sync_file_range as well as possible.

I already sent a patch about this. but I'm not sure that it is a good way. 

if someone tried custom environment, It may fail.

but. I still think RHEL5 is very important OS. especially in Korea, most company may use this version.
Reply all
Reply to author
Forward
0 new messages