Always make job use open() instead of dup(), even for shared files
authorJens Axboe <jens.axboe@oracle.com>
Thu, 6 Mar 2008 11:06:30 +0000 (12:06 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 6 Mar 2008 11:06:30 +0000 (12:06 +0100)
commite8670ef8b26039573fbf835b4b95ba45a1039d83
tree8467089e9833e6e63beee0eacdd583d4845f1595
parenteda41004e84015059bb5ab8a688d3012e8a519a2
Always make job use open() instead of dup(), even for shared files

The fd may be opened after other jobs are forked, thus they wont
share fd space (unless the 'thread' option is used).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c