History log of /external/fio/filehash.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45aeca74dc812f33a6617687fc7cb25a1cd2779b 02-Apr-2014 Jens Axboe <axboe@fb.com> Don't crash when using filehash lock before init

We might be parsing and adding files (which locks the hash
lock) before we have setup threads. For that case, don't
bother locking, we're serialized at that point.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/filehash.c
10aa136bddbaa7c845ab4eacb4a9a4a88d6657a3 02-Apr-2014 Jens Axboe <axboe@fb.com> Cleanup symbols that should be static

Run analysis on symbols not used outside of their current file,
turn them into statics.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/filehash.c
90426237af4f3c9c7628aebfd4421fbe43d68c2a 01-Apr-2014 Jens Axboe <axboe@fb.com> Properly protect already-allocated file list

We need proper locking around it for thread based setups.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/filehash.c
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/filehash.c
dadf66c5240716a61f3861c29bebf97f29b1ea96 06-Oct-2011 Jens Axboe <axboe@kernel.dk> Add jhash (Jenkins hash) and use that for file names

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/filehash.c
d6aed795f2e3e403828abf60874dd2d6e8342a1b 03-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Clean up file flags

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
8954110682922232b8bccfe2b7e734d04ce71b96 10-Sep-2008 Jens Axboe <jens.axboe@oracle.com> filehash: check for NULL ->file_name in hash lookup

Original patch from Shaozhi Shawn Ye <yeshao@google.com>, modified
by me to continue the lookup and just skip the file instead of
returning NULL.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
b950781e189961b934c5a26372ae4ec5fd384799 13-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Revert "Convert file hash lock to spinlocks"

This reverts commit 0ec7b3c9a0926e6377bd145206bb9f6a70be610d.
/external/fio/filehash.c
0ec7b3c9a0926e6377bd145206bb9f6a70be610d 12-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Convert file hash lock to spinlocks

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
01743ee1718e7ec4b16ae3e53c8f64900c6052cc 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Rename list_* function and file to flist_ to avoid conflict with FreeBSD

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
5e1d306e4f9a6337d07cc2d536d77c53e083226f 23-May-2008 Jens Axboe <jens.axboe@oracle.com> Add job number specific dumping and fix atexit() error

The threads/process jobs should use _exit() so they don't run
the main atexit() function.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
5f1348c709d91ffa54bde1a6a1beb53ecda613b7 03-Mar-2008 Jens Axboe <jens.axboe@oracle.com> filehash.c: remove debug hash dump

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c
380065aa652b87093d6bbd240e70db30bd6f193d 01-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Add file hashing helpers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/filehash.c