seastar
seastar copied to clipboard
WIP: route discards via the I/O queue
This set of changes is an another attempt to route discard requests via the I/O queue to ensure, that they are issued to the drive in a controlled way.
This PR:
- adds discard type to
internal::io_request
- renames
io_desc_read_write
toqueued_io_request_completion
-- discards will use it too - adds
discard_to_write_ratio
toio-properties.yaml
- adds
discard
direction toio_direction_and_length
- routes discard requests via the I/O queue
- introduces
remove_file_via_blocks_discarding()
function that can be used to remove files block by block