fio: Simplify forking of processes
authorJan Kara <jack@suse.cz>
Tue, 24 May 2016 15:03:21 +0000 (17:03 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 25 May 2016 19:22:29 +0000 (13:22 -0600)
commitd7982dd0ab2a1a315b5f9859c67a02414ce6274f
tree3c80b65cdc77035f8b2917167127bc60fe0e0d69
parent1bd4cb6b62903c7785d6891d8b40a745b52c609f
fio: Simplify forking of processes

There is no reason to re-attach to shared memory segments after fork(2).
shmat(2) manpage specifically says:

After a fork(2), the child inherits the attached shared memory segments.

So get rid of some unnecessary code.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c