On Sun, Apr 3, 2011 at 7:26 PM, Alexander Polakov <polac...@gmail.com> wrote: > mount_msdos(8) says: > > -o options > Use the specified mount options, as described in > mount(8). > > But when you try -o async it says "option not supported". > I added MOPT_ASYNC into mount_msdos (see diff below), and now msdosfs > can be mounted asynchronously (bwrite() checks mount flags and > passes buffer to bdwrite() if MNT_ASYNC is on the list). > I haven't done any benchmarks, but it feels a little faster (and more > responsive) when writing to a usb flash drive. > > So the question is: why doesn't mount_msdos support -o async?
A filesystem must have special code to support async mode. msdosfs does not. All your diff does is allow the option to be set, it's still not actually used (more responsive was all in your head).