Re: [PATCH 03/10] remote: Make readahead_cache a C++ class

Simon Marchi
2018-05-18T20:57:25Z

On 2018-05-16 10:18 AM, Pedro Alves wrote:
> The idea here is eliminate the get_remote_state calls from within
> readahead_cache_invalidate, readahead_cache_invalidate_fd,
> remote_hostio_pread_from_cache by making those functions be class
> methods instead. Later on we'll have one readahead_cache instance per
> remote connection, and this change makes that easier.

LGTM.

Simon