15 #if FOXXLL_HAVE_LINUXAIO_FILE 23 void* buffer, offset_type offset, size_type
bytes,
26 request_ptr req = tlx::make_counting<linuxaio_request>(
36 void* buffer, offset_type offset, size_type bytes,
39 request_ptr req = tlx::make_counting<linuxaio_request>(
48 void linuxaio_file::serve(
void* buffer, offset_type offset, size_type bytes,
53 aread(buffer, offset, bytes)->wait();
55 awrite(buffer, offset, bytes)->wait();
58 const char* linuxaio_file::io_type()
const 65 #endif // #if FOXXLL_HAVE_LINUXAIO_FILE
tlx::counting_ptr< request > request_ptr
A reference counting pointer for request.
tlx::delegate< void(request *r, bool success)> completion_handler
completion handler
static instance_pointer get_instance()
return instance or create base instance if empty
static const size_t bytes
number of bytes in uint_pair
void add_request(request_ptr &req, disk_id_type disk)