On 12/19/2010 05:33 AM, Roback, Joe wrote:
> Hello.
> 
> O_DIRECT is undefined on Darwin. To get direct IO on darwin, one can use 
> fcntl(fd, F_NOCACHE, 1); Below is a patch to e2fsprogs to use fcntl() on 
> system that don't define O_DIRECT and have F_NOCACHE defined.
> 
> Made to go in "tools/e2fsprogs/patches/003-darwin_directio_fix.patch" using 
> Quilt (http://wiki.openwrt.org/doc/devel/patches)
> 
> Signed-off-by: Joe Roback <j...@roback.cc>
> 
Thank you for reporting and fixing this issue. It is now applied. I do
not have a Darwin system so I have not detected this problem. Could you
please report this issue to the e2fsprogs maintainers at
http://sourceforge.net/tracker/?group_id=2406&atid=102406 so they can
fix it in mainline.

Hauke
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to