{"push_id":900321139,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"657f5c5bbbe9d8c8489b5ac876e377706484c69e","before":"c5ded831ba90b56b229bab2f6689cac107cf2372","commits":[{"sha":"fe873e82b2d96762658e3c8319bc11b633b6e015","author":{"email":"165dc05575478af93ac2f97f67be6e1756010094@linaro.org","name":"Bryan O'Donoghue"},"message":"greybus/loopback: Wait for all async operations to complete on exit\n\nOn gb_loopback_connection_exit() we should ensure every issued asynchronous\noperation completes before exiting connection_exit(). This patch introduces\na waitqueue with a counter which represents the number of incomplete\nasynchronous operations. When the counter reaches zero connection_exit()\nwill complete. At the point which we wait for outstanding operations to\ncomplete the connection-specific loopback thread will have ceased to issue\nnew operations. Tested with both synchronous and asynchronous operations.\n\nReviewed-by: Johan Hovold <johan@hovoldconsulting.com>\nSuggested-by: Johan Hovold <johan@hovoldconsulting.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@google.com>","distinct":true,"url":"https://api.github.com/repos/gregkh/greybus/commits/fe873e82b2d96762658e3c8319bc11b633b6e015"},{"sha":"657f5c5bbbe9d8c8489b5ac876e377706484c69e","author":{"email":"165dc05575478af93ac2f97f67be6e1756010094@linaro.org","name":"Bryan O'Donoghue"},"message":"greybus/loopback: Add asynchronous backoff\n\nA specific request from the firmware people is the ability to back-off from\nsending more asynchronous operations once a specific number of operations\nare in-flight.\n\nThis patch adds that ability - with a new sysfs parameter\n'outstanding_operations_max' which controls the maximum number of\noperations that can be outstanding/in-flight at any time.\n\nWhen outstanding_operations_max contains a non-zero value and asynchronous\noperations are being used - we will back-off until the completion counter\nis < outstanding_operations_max. Tested in both synchronous and\nasynchronous mode and with gb_loopback_connection_exit() interrupting\nin-flight operations.\n\nSuggested-by: Johan Hovold <johan@hovoldconsulting.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\nReviewed-by: Johan Hovold <johan@hovoldconsulting.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@google.com>","distinct":true,"url":"https://api.github.com/repos/gregkh/greybus/commits/657f5c5bbbe9d8c8489b5ac876e377706484c69e"}]}