• Bart Van Assche's avatar
    skd: Remove skd_device.in_flight · d4d0f5fc
    Bart Van Assche authored
    Since skd_device.in_flight is only used to display the number of
    in-flight requests in debug messages, remove that member and
    introduce skd_in_flight(). That last function relies on the block
    layer to determine the number of in flight requests.
    Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Johannes Thumshirn <jthumshirn@suse.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    d4d0f5fc
skd_main.c 92.5 KB