DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- Add O_FRNONBLOCKING, to allow reads which do not block on disk accesses.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Feb 2011 07:14:52 -0800 (PST)

commit 638e2d2dbe6f53c8cedaba64a0c882abf747f667
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Wed Feb 23 07:12:20 2011 -0800

    kernel -- Add O_FRNONBLOCKING, to allow reads which do not block on disk accesses.
    
    Using extpread() or extpreadv() with O_FRNONBLOCKING on HAMMER file systems now allows
    reads to return EWOULDBLOCK when the requested data is not in the buffer cache.

Summary of changes:
 sys/kern/vfs_vnops.c          |    4 +++-
 sys/sys/fcntl.h               |    3 ++-
 sys/sys/vnode.h               |    1 +
 sys/vfs/hammer/hammer_vnops.c |    3 +++
 4 files changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/638e2d2dbe6f53c8cedaba64a0c882abf747f667


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]