On Wednesday, 2016-12-07 at 09:24:24 +0800, Tymon wrote:
> Since I want to optimize the I/O performance under openwrt with USB 3.0
> (mt7621 dual core),
> I had tried 3 methods to mount my vfat/exfat format u-disk as "async"
> option, but failed.
> My OpenWRT version is 14.07, and kernel has been enable AIO support,
> method 1 : use shell command : mount /dev/sda1 /mnt -o rw,noatime,async
> method 2 : use linux c function : mount(x,x,x,"rw,async");
> method 3 : edit /etc/config/fstab option options 'rw,async'
> Unfortunately, none of above methods can mount the disk as "async" mode,
> please help me,
> Any hit will be appreciate.
Works here on RHEL 7.2:
socbl648:/root# mount -o rw,noatime,sync /dev/sdc /mnt
socbl648:/root# mount | grep /mnt
/dev/sdc on /mnt type vfat
(rw,noatime,sync,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
^^^^
socbl648:/root# mount -o rw,noatime,async /dev/sdc /mnt
socbl648:/root# mount | grep /mnt
/dev/sdc on /mnt type vfat
(rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
(no sync)
Please post your output from using sync and async, e.g. with the shell
command.
HTH,
Luep Christoph
--
| As everyone knows, it was predicted that the world would end last |
| Wednesday at 10:00 PST. Since there appears to be a world in existence |
| now, the entire universe must therefore have been recreated, complete |
| with an apparent "history", last *Thursday*. QED. |
| Seanna Watson, <[email protected]> |
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users