HELP: Folder as object store
TYPE: OBJECT
SYNTAX: FOLDER(NET.{},PATH/NAME='str',NOMKDIR,FLUSH,ATTRIB(),OVERWRITE,DATBUF=num,MBRBUF=num,DIRBUF=num)
Use folder as object store for archive at write.
The path can be specified in the form of a URL in order to write the archive remotely. The NET overlay is also available for this purpose. The path name can be supplemented here with a number in parenthesis, which is ignored in this case. This means that a new version/generation is always written unless the OVERWRITE switch is set, which forces the archive to be deleted before writing. Another switch can be used to force the flush of the data so that you can be sure that everything has been written. The NOMKDIR switch can be used to prevent the creation of directories for the given path, which would otherwise be done automatically. You can also define the access rights and determine the sizes for internal buffering.
NOMKDIR, FLUSH and ATTRIB are the write options that the FIO modules have always had. A folder store writes objects into regular files below the base folder, and the three options apply there:
NOMKDIR Applies to the base folder named by PATH, and to nothing below it. If that base folder does not exist the store is not opened at all and nothing is created. The folders of the object hierarchy below it are still created, because their names are derived from the object ids of the archive and no caller can create them beforehand.
FLUSH Syncs every object to disk before the object is closed. A failing sync is reported as a warning; the archive itself stays valid.
ATTRIB Sets the access rights of every object file that the store writes. Folders are deliberately left alone: a folder without the execute bit cannot be traversed, so a mode set there would break the very store the attribute was meant to protect. The umask and the file system decide the folders. A failing attribute call is reported as a warning.
STRING: PATH/NAME='str' - Path of folder to use [required]SWITCH: NOMKDIR - Don't create path if path not exists [FALSE]SWITCH: FLUSH - Enforce flush in front of close file [FALSE]SWITCH: OVERWRITE - Overwrite an existing archive [FALSE (append)]NUMBER: DATBUF=num - Buffer for data segments [4 MiB]NUMBER: MBRBUF=num - Buffer for member segments [1 MiB]NUMBER: DIRBUF=num - Buffer for the directory segment [1 - no buffering (segment=object)]