Messages in this thread | | | Date | Thu, 16 Mar 2006 00:11:08 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH 2.6.16-rc6] Promise SuperTrak driver |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |