Skip to contentSkip to conversation

create subdirs if specified in the filename_format

PATCH Jens Axboe 1 participant 1 message Oct 11, 2017 2 messages not in the archive

lore
Share & tools
lore

Jens Axboe

author
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Josef Bacik

From: Josef Bacik <[email protected]>

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.

Applied 1, and this one except I dropped the flag shift change which isn't needed.

Would be nice with a documentation change as well for this, so it's clear that filename_format can take directory names as well, just so that's clear to users.

Signature · 1 line
Jens Axboe