block: free io_context cached request entries automatically

Add a forward rolling timer that frees entries in the cache when
they get too old. For a system with a lot of disks, we don't want
to leave this memory around indefinitely.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2 files changed