On Sat, Aug 25, 2012 at 07:44:09PM +0200, Sebastian Andrzej Siewior wrote: > On Sat, Aug 25, 2012 at 10:35:34AM -0400, Alan Stern wrote: > > For safety's sake, it would be a good idea to flush the dirty pages > > when a disconnect occurs. > > It does not look like there is an API for this (yet).
Does it really make sense to flush dirty pages on disconnect ? Shouldn't we delay it to close() ? I mean, this will be running on a device with a battery anyway, so there's very little risk of loosing any data. -- balbi
signature.asc
Description: Digital signature