commit | 29c1349f1840c3f60434c9da602074bc8fde4afe | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Sat Mar 01 19:25:20 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Sat Mar 01 19:25:20 2008 +0100 |
tree | 44ce2e13c7f9b873ce4d30479df0345211588b6f | |
parent | 4906e0b57f2b8cbad02ef2428522281cf6038bdd [diff] |
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 <jens.axboe@oracle.com>