Skip to content
  • Jens Axboe's avatar
    block: add block polling support · 05229bee
    Jens Axboe authored
    
    
    Add basic support for polling for specific IO to complete. This uses
    the cookie that blk-mq passes back, which enables the block layer
    to pass this cookie to the driver to spin for a specific request.
    
    This will be combined with request latency tracking, so we can make
    qualified decisions about when to poll and when not to. For now, for
    benchmark purposes, we add a sysfs file that controls whether polling
    is enabled or not.
    
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    Acked-by: default avatarChristoph Hellwig <hch@lst.de>
    Acked-by: default avatarKeith Busch <keith.busch@intel.com>
    05229bee