ubifs:questions about this filesystem

Richard Weinberger richard.weinberger at gmail.com
Wed Jun 22 07:26:28 PDT 2016


Hi!

On Wed, Jun 22, 2016 at 4:13 PM, 辉少 <wang502742203 at qq.com> wrote:
> Hi,MTD lists
> I've got two questions about ubifs listed below,
> 1. If I write a file to the filesystem, dose it go to a new block or the same block last written file goes?

UBIFS tries to fill up LEBs as much as possible. Allocating a new LEB
for every new file would be deadly.

> 2. What's the priority of GC thread? If GC thread is working background, what effect will it bring to other working threads in my embedded system? Can other threads be blocked?

Strictly speaking there is only a background thread to do many things.
GC can happen in many contexts.
The background thread is kthread with default priority.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list