Ed Lin wrote: > I think the tcq is good after reading the related kernel code. But driver > still need to keep track of the tag for eh and flush. Maybe the driver > can use find_first_zero_bit(), __set_bit(), and __test_and_clear_bit(), > because this is what the block layer uses for tag operations. Once mapped by the block layer, the tag should be accessible via struct request::tag variable for the lifetime of the struct request. Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html