This looks good in general: Reviewed-by: Christoph Hellwig <hch@xxxxxx> but I wonder if it srpt_abort_cmd wouldn't be easier to understand if there was just a sіngle switch on the ioctx state instead of two? The only downside is that we might need helper variable to exectue the target core functions outside the spinlock -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html