[android-developers] Re: MTP performance

2012-10-12 Thread Luke Weber
fsync is the call to flush a buffer to disk so I think commenting it out would be ill advised unless you know what you're doing. You pay a small penalty for flushing to disk more often in most cases(see http://linux.die.net/man/2/fsync). As well: "A successful close does not guarantee that the

[android-developers] Re: MTP performance

2012-10-08 Thread RichardC
AOSP groups are here: http://source.android.com/community/index.html On Monday, October 8, 2012 10:20:06 AM UTC+1, Mike wrote: > > Hi Everyone, > I am working on improving the MTP write performance of devices in general. > I came across this code in kernel/fs/sync.c > 178