High performance C++ framework for concurrent servers
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
seastar::io_queue Class Reference


struct  config

Public Member Functions

 io_queue (config cfg)
future< size_t > queue_request (const io_priority_class &pc, size_t len, internal::io_request req) noexcept
size_t capacity () const
size_t queued_requests () const
size_t requests_currently_executing () const
void notify_requests_finished (fair_queue_ticket &desc) noexcept
void poll_io_queue ()
sstring mountpoint () const
shard_id coordinator () const
dev_t dev_id () const noexcept
future update_shares_for_class (io_priority_class pc, size_t new_shares)
void rename_priority_class (io_priority_class pc, sstring new_name)

Static Public Member Functions

static io_priority_class register_one_priority_class (sstring name, uint32_t shares)
static bool rename_one_priority_class (io_priority_class pc, sstring name)

Static Public Attributes

static constexpr unsigned read_request_base_count = 128

Class Documentation

◆ seastar::io_queue::config

struct seastar::io_queue::config
Class Members
unsigned capacity
shard_id coordinator
dev_t devid
unsigned disk_bytes_write_to_read_multiplier
unsigned disk_req_write_to_read_multiplier
unsigned max_bytes_count
unsigned max_req_count
sstring mountpoint

The documentation for this class was generated from the following file: