From: Jens Axboe Date: Sat, 1 Mar 2008 18:25:20 +0000 (+0100) Subject: Add the file sharing bits X-Git-Tag: fio-1.20-rc1~10 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=29c1349f1840c3f60434c9da602074bc8fde4afe;hp=29c1349f1840c3f60434c9da602074bc8fde4afe Add the file sharing bits When you use the same filename for several jobs now, they will share the same file structure. Enable locking through two new options: - lockfile. If set, a semaphore is associated with the file and it is held from ->prep() to ->queue() has done its work. - lockfile_batch. This controls how many IOs the job gets to do per semaphore acqusition. Signed-off-by: Jens Axboe ---