On Thu, Sep 5, 2019 at 3:27 AM JH <jupiter.hce@xxxxxxxxx> wrote: > > Hi, > > I am running kernel 5.1.0 on iMX6 using NAND flash, I write small data > files about 250 bytes each every 5 minutes to a backup storage, the > total size of all data files is about 600 KB, but du shown me 9.7M is > used in that directory. I know NAND using page to flush files, how > does the MTD handler NAND fragmentation? If you force UBIFS (I assume you use it) to persist 250 bytes, it has to waste a full NAND page. This is how NAND works. But UBIFS can pack such data chunks upon garbage collect when it runs out of space. -- Thanks, //richard ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/