On Fri, Aug 24, 2012 at 10:50:54AM -0400, Alan Stern wrote: > Sebastian, you might be able to check this yourself. What does > tcm_usb_gadget do when it gets a USB port reset? Does it tell the > storage layer to sync all the dirty pages? No, it leavs the storage layer alone. > Also, does it sync the dirty pages when it gets a USB disconnect? As far as I can see, a sync happens on - SYNCHRONIZE_CACHE CDB - on write CDBs with FUA=1 (WCE is ignored here) which means it has to be requested by the initiator. Nothing happens on US_BULK_RESET_REQUEST or on function.disable callback. > Alan Stern Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html