Is UBIFS need backgroud gc?

Artem Bityutskiy dedekind1 at gmail.com
Wed Feb 26 07:28:39 EST 2014


On Wed, 2014-02-26 at 17:34 +0800, wang.bo116 at zte.com.cn wrote:
> 	UBIFS now use ubifs_budget_space to ensure there is enough space to complete an operation.
> When an operation cannot be budgeted, make_free_space -> run_gc called to make some free space.
> 	My questions is that why not attempt run gc in backgroud when UBIFS is in idle? Do gc
> when an operation cannot be budgeted is too late, and this may block the operation for a while.
> 	Maybe now it is time to add backgroud gc in ubifs_bg_thread?

May be. Someone should just experiment with this, come up with some
numbers and the solution.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list