Skip to content

fio did not delete directories after completing IO with unlink=1 #1625

Open
@wangyihanlarry

Description

@wangyihanlarry

Hi,
I used the following fio profile to create bunch of files in the deep directory and doing some IO practice, after IO completion, I want all the files and directories are wiped out, the files could be deleted as expected, the folder, however, still there. could you please help to check?

[global]
ioengine=psync
direct=1
rw=write
file_service_type=sequential:1
filename_format=$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$jobnum/$filenum
openfiles=1
create_on_open=1
end_fsync=1
unlink=1
[fstest]
numjobs=200
directory=/test/lar1:/test/lar2
filesize=1M
nrfiles=1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpatcheswelcomeNo one internal is working on this but an external contributor's help is very welcome!triagedIssue cause is understood but a patch is needed to fix it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions