How can we use TUX atoms' framework to query file caching file status?

Liang Yang <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Hi, Ingo

We solved the problem causing kernel to 
crash. It is not due to we add path_walk()
and do_generic_file_read() in output.c. The 
reason is generic_send_file() is called
by TUX two times when the file is cache miss.
Only In the second time, TUX write the target
file to the socket. Maybe in the first time, TUX
just try to do something for connection.

You say we can use TUX atoms' framework
to query file caching status, can you give us
a little bit more information  about atoms' frame
work? 

What's the TUX atoms' framework for? how and
where in TUX can we use it to query file caching 
status?

BTW, if we use TUX atoms' frame, can we put the
code in the event_loop or socket callback functions?
We guess event_loop or other callbacks will be invoked
by Linux kernel regularly, so we can insert our code here
and get the file caching status periodically. Thus we can
update the file caching table in the front-end proxy and let
proxy know which file is currently cached in which backend
server.

Thank you. 

Liang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.