iolog: don't serialize the writing of all logs
authorJens Axboe <axboe@fb.com>
Wed, 2 Apr 2014 21:46:58 +0000 (15:46 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 2 Apr 2014 21:46:58 +0000 (15:46 -0600)
commit243bfe190245a10e9d0981bf2a7c722edc4c43d4
tree3fae4c737731b1be9d1fcdc4872db247308cac65
parent3d434057fd4c20c2b1216d9696c4fed9f7d8c4dd
iolog: don't serialize the writing of all logs

Serialize based on filename, so that independent logs can be
written at the same time. If the logs are big, this can take
a while to flush to disk. It's silly to have all jobs waiting
on each other, when they could write their own logs independently.

Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile
backend.c
filelock.c [new file with mode: 0644]
filelock.h [new file with mode: 0644]
init.c
iolog.c
iolog.h
libfio.c