Re: [U-Boot] [PATCH 2/4] fs/fat: Do not write unmodified fat entries to disk

2016-09-12 Thread Lukasz Majewski
Hi Stefan, > The code caches 6 sectors of the FAT. On FAT traversal, the old > contents needs to be flushed to disk, but only if any FAT entries had > been modified. Explicitly flag the buffer on modification. > > Currently, creating a new file traverses the whole FAT up to the first > free clust

[U-Boot] [PATCH 2/4] fs/fat: Do not write unmodified fat entries to disk

2016-09-11 Thread Stefan BrĂ¼ns
The code caches 6 sectors of the FAT. On FAT traversal, the old contents needs to be flushed to disk, but only if any FAT entries had been modified. Explicitly flag the buffer on modification. Currently, creating a new file traverses the whole FAT up to the first free cluster and rewrites the on-d