linuxsynchronizationfilesystemsembedded-linuxubifs

How long does an UBIFS take to sync a file to flash


Does anyone know how long a UBIFS takes to flush/sync a file to flash?

The write happens through a normal fwrite operation and I would like to know how long before that write is committed to flash when no other writes to file occur.

If not, any way of finding out?

Thanks.


Solution

  • An interesting read: UBIFS write-back knobs in Linux

    The write-back functions can be tuned via /proc/sys/vm calls:

    This way we can tune the write-back sync time.