Hello, On 05/13/2010 07:40 PM, Jens Axboe wrote: > Is there a valid case for setting the capacity less than the unlocked > capacity? I would think the unlock/lock bool api is saner. IDE currently is the only user (and probably has been that way the whole time), so it is a binary thing. I have no idea why the original interface was designed that way. Looks like it tried to be too generic. Anyways, for the task at hand, the following should be enough. void (*unlock_native_capacity)(void); This simple signalling is how the current interface is being used anyway. If nobody objects, I'll replace ->set_capacity() with the above. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html