Thank you very much, it seems the "async" does not display if you succeed to 
mount.




root#mount /dev/sda1 /mnt/sda1 -o remount,rw,noatime,sync
/dev/sda1 on /mnt/sda1 type fuseblk 
(rw,noatime,sync,user_id=0,group_id=0,allow_other,blksize=4096)


root#mount /dev/sda1 /mnt/sda1 -o remount,rw,noatime,async
/dev/sda1 on /mnt/sda1 type fuseblk 
(rw,noatime,user_id=0,group_id=0,allow_other,blksize=4096)




------------------
Regards,

banglang huang
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel 


 




------------------ 原始邮件 ------------------
发件人: "Lupe Christoph";<[email protected]>;
发送时间: 2016年12月7日(星期三) 下午5:38
收件人: "openwrt-users"<[email protected]>; 

主题: Re: [OpenWrt-Users] I can not mount my u-disk as "rw,async" option



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
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to