LWN.net Logo

Linux Storage and Filesystem workshop, day 1

Linux Storage and Filesystem workshop, day 1

Posted Apr 8, 2009 1:33 UTC (Wed) by mezcalero (subscriber, #45103)
In reply to: Linux Storage and Filesystem workshop, day 1 by njs
Parent article: Linux Storage and Filesystem workshop, day 1

Hmm, not sure of programs really want to make use of that functionality. Also, wouldn't it be easier to simply allow O_NDELAY style access to files? Then blocking IO requests could simply return EAGAIN and userspace could start a thread for it, and everything could be done easily in userspace.

In addition, the POSIX aio doesn't allow such 'early' returns. (POSIX aio is an awful API anyway, with all those signals)


(Log in to post comments)

Using threads for AIO? Best do it in userspace.

Posted Apr 8, 2009 6:38 UTC (Wed) by xoddam (subscriber, #2322) [Link]

I agree entirely, posted words to the same effect below.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds