27 request_ptr req = tlx::make_counting<serving_request>(
40 request_ptr req = tlx::make_counting<serving_request>(
request::offset_type offset_type
the offset of a request, also the size of the file
request_ptr awrite(void *buffer, offset_type pos, size_type bytes, const completion_handler &on_complete=completion_handler()) override
request::size_type size_type
the size of a request
request_ptr aread(void *buffer, offset_type pos, size_type bytes, const completion_handler &on_complete=completion_handler()) override
static instance_pointer get_instance()
return instance or create base instance if empty
High-performance smart pointer used as a wrapping reference counting pointer.
static const size_t bytes
number of bytes in uint_pair
void add_request(request_ptr &req, disk_id_type disk)
int get_queue_id() const override