[LTP] [PATCH] fs_fill: switch the SAFE MACROs back to ordinary syscall
Cyril Hrubis
chrubis@suse.cz
Wed Nov 22 14:29:09 CET 2017
Hi!
> > But perhaps this should go to setup(), otherwise with "-i 2"
> > it hits TBROK on mkdir.
> >
> > I tried adding RMDIR after join, but unlink doesn't seem to remove
> > everything:
> > safe_macros.c:184: BROK: fs_fill.c:108: rmdir(mntpoint/thread4) failed:
> > ENOTEMPTY
>
> I see, there's "break" in loop that does unlink. Which is likely by design,
> so we hit ENOSPC sooner.
That was the intention. The initial idea is that many threads race on
writing into nearly full filesystem. I guess I should have written
better description in the top level comment.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list