Skip to content
Snippets Groups Projects
  • Alexander Turenko's avatar
    38a70e41
    config: create parent directories in mkdir applier · 38a70e41
    Alexander Turenko authored
    Before this patch an attempt to set, say, `wal.dir` option to a
    non-existent directory `foo` succeeds, while the same with `foo/bar`
    directory fails.
    
    The patch removes a race condition check, because `fio.mktree()`
    performs the check on its own. See #4660 for details.
    
    Part of #8862
    
    NO_DOC=It is a bugfix.
    38a70e41
    History
    config: create parent directories in mkdir applier
    Alexander Turenko authored
    Before this patch an attempt to set, say, `wal.dir` option to a
    non-existent directory `foo` succeeds, while the same with `foo/bar`
    directory fails.
    
    The patch removes a race condition check, because `fio.mktree()`
    performs the check on its own. See #4660 for details.
    
    Part of #8862
    
    NO_DOC=It is a bugfix.
config-create-parent-directories.md 115 B

bugfix/config

  • Support parent directories creation for options that accept a directory or a file (gh-8862).