c180342e1293259ca8d23ed0298aa6c32815fee5 |
|
19-Dec-2014 |
Jens Axboe <axboe@fb.com> |
mutex: add __fio_mutex_remove() We have to remember to free the condvar, so add a __fio_mutex_remove() for cases that init a mutex inside an smalloc'ed region with __fio_mutex_init(). Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/mutex.h
|
72242057a25b59d01b3d4e1343c94cc7ac354950 |
|
02-Apr-2014 |
Jens Axboe <axboe@fb.com> |
mutex: add open init function and down_trylock() variant Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/mutex.h
|
8b4e954ca8cf671c25e6df1d675caa34b64f7678 |
|
21-Mar-2013 |
Jens Axboe <axboe@kernel.dk> |
mutex: add magic checks Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/mutex.h
|
d7df1d133b0c3daad4ae4c731e0dae7b0181fd62 |
|
21-Mar-2013 |
Jens Axboe <axboe@kernel.dk> |
Rework lockfile= file lock handling Get rid of the hand rolled rw semaphores, just use pthread rwlocks instead. Kill the batching too, it was broken by default, so nobody could have been using it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/mutex.h
|
521da527743088a9bd2ab882f8b64799d49d5848 |
|
02-Aug-2012 |
Jens Axboe <axboe@kernel.dk> |
mutex: make 0/1 FIO_MUTEX_LOCKED and FIO_MUTEX_UNLOCKED Makes the API look cleaner. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/mutex.h
|
b6f6abc689b3c05306bb1613a3d43f24fa4417d8 |
|
02-May-2011 |
Jens Axboe <jaxboe@fusionio.com> |
Switch mutex to using anonymous mmap We don't need an fd backing for this, saves on file descriptors in use. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/mutex.h
|
656b1393d43f9f22738404582ea14dec956aea83 |
|
01-Jul-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Add code to detect a task that exited prior to up'ing the startup mutex Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
4d4e80f2b4260f2c8b37a8612ce655502a799f7a |
|
04-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Revamp file locking Get rid of the semaphore implementation, no need to carry both. Add different locking modes (exclusive and readwrite) to enable a wider range of testing. Also combine lockfile and lockfile_batch, the latter is now a postfix option to the former. So to enable readers-excluding-writers locking mode with a lock batch count of 4, you would write: lockfile=readwrite:4 instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
9c5b52907227f8f50dc472d11601869f75b8d663 |
|
03-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Add rw mutex init helper Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
64d4d313ef4f537408d28fac863cf2a2b0f00175 |
|
03-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Add read-write mutexes Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
af4bab56db4f87410c491c356954bbb65171f94d |
|
01-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Fix bad inlining in mutex.h Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
cdd18ad87ed9a3639b76c41cfc9682ad7cce652e |
|
27-Feb-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Confusion between mutex and semaphore naming There's a semaphore implementation and option coming, so rename the bits. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
f7c9e00eee87dc4eb24fc6e6ad68af38ba2bbe98 |
|
09-Mar-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Shrink the semaphores a little The downside is that they hold the fd open, so it steals one possible file open per-file. Will fix that in the next commit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|
07739b57f09886b41323c605b0dbda7d2c12522b |
|
08-Mar-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Add a real semaphore implemtation I've seen races where job N+1 got started before N, this breaks for dependent jobs. So give up and implement a real semaphore in mmap'ed shared storage. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/mutex.h
|