]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: polling: rename "spec_e" to "state" and "spec_p" to "cache"
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Jan 2014 10:09:39 +0000 (11:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Jan 2014 23:42:29 +0000 (00:42 +0100)
commit15a4dec87eac29b45182e0927114d98c7e147d97
tree72d42b42c7763b2a0e8ac16045f5a53658e0596e
parent8e84c637d1d123ec57441f6ae07dd450b160d6e7
REORG: polling: rename "spec_e" to "state" and "spec_p" to "cache"

We're completely changing the way FDs will be polled. There will be no
more speculative I/O since we'll know the exact FD state, so these will
only be cached events.

First, let's fix a few field names which become confusing. "spec_e" was
used to store a speculative I/O event state. Now we'll store the whole
R/W states for the FD there. "spec_p" was used to store a speculative
I/O cache position. Now let's clearly call it "cache".
include/proto/fd.h
include/types/fd.h
src/dumpstats.c
src/ev_epoll.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c