[LTP] [PATCH] tst_fill_fs: enhance the filesystem filling routine
Jan Stancek
jstancek@redhat.com
Wed Nov 20 07:40:56 CET 2019
----- Original Message -----
> > You don't need to reduce the write size in the first place. Kernel will
> > happily do short writes for you if the file system somehow finds some
> >
>
> You're probably right, but here I just want to enhance the tst_fill_fs
> routine, it obviously couldn't be guaranteed way to perfectly fill a
> filesystem, this action from userspace is what I can think of.
>
>
> > free blocks. The more important question is how to trigger garbage
> > collection of internal file system book-keeping data.
> >
>
> Okay. I'm not good at FS issues. Or, do you have a better idea for that?
FS devs mentioned couple ideas. Repeated writes (this thread), fsync, mount+umount.
But all suggestions were from "better" category, don't think we have 100% reliable one.
More information about the ltp
mailing list