create subdirs if specified in the filename_format
authorJosef Bacik <jbacik@fb.com>
Wed, 11 Oct 2017 18:58:12 +0000 (14:58 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 19:03:11 +0000 (13:03 -0600)
commitf1c71016a5b57412a7cacd138c1e1a786ca775f3
tree503ef0cf2377643725efc4ee6099e225c37b6e74
parent53a7af851836735f1ff59d2b9e1a743e7cc499e9
create subdirs if specified in the filename_format

Currently there's no way for a user to specify a directory that doesn't
exist yet for a job.  Fix this by looking for paths in the file name
provided by the job and creating any subdirectories that may be
required.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Removed TD_ENG_FLAG_SHIFT change, not needed.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c
fio.h