git: test - Adjust randread to not share file descriptors
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Feb 8 15:34:09 PST 2012
commit 79580b6b91b2d2b38532aa3837ac35f22055f2ab
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Feb 8 15:32:52 2012 -0800
test - Adjust randread to not share file descriptors
* Close and reopen the device when randread fork()s so the physical
file descriptor is not shared. The vnode will still be shared.
* Works around a serialization issue when a file descriptor is shared.
Summary of changes:
test/sysperf/randread.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79580b6b91b2d2b38532aa3837ac35f22055f2ab
--
DragonFly BSD source repository
More information about the Commits
mailing list