Re: Potential fsg->state problem at file_storage.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux