• Bart Van Assche's avatar
    skd: Remove SKD_ID_INCR · f5cb2d51
    Bart Van Assche authored
    The SKD_ID_INCR flag in skd_request_context.id duplicates information
    that is already available otherwise, e.g. through the block layer
    request state and through skd_request_context.state. Hence remove
    the code that manipulates this flag and also the flag itself.
    Since skd_isr_completion_posted() only uses the lower bits of
    skd_request_context.id as hardware tag, this patch does not change
    the behavior of the skd driver. I'm referring to the following code:
    
        tag = req_id & SKD_ID_SLOT_AND_TABLE_MASK;
    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>
    f5cb2d51
skd_main.c 93.3 KB