* ubifs:questions about this filesystem
@ 2016-06-22 14:13 =?gb18030?B?u9TJ2Q==?=
2016-06-22 14:26 ` Richard Weinberger
0 siblings, 1 reply; 3+ messages in thread
From: =?gb18030?B?u9TJ2Q==?= @ 2016-06-22 14:13 UTC (permalink / raw)
To: =?gb18030?B?bGludXgtbXRk?=
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 366 bytes --]
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?
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?
Best Regards,
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ubifs:questions about this filesystem
2016-06-22 14:13 ubifs:questions about this filesystem =?gb18030?B?u9TJ2Q==?=
@ 2016-06-22 14:26 ` Richard Weinberger
[not found] ` <tencent_1F5A13F32BF5625D7149E156@qq.com>
0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2016-06-22 14:26 UTC (permalink / raw)
To: 辉少; +Cc: linux-mtd
Hi!
On Wed, Jun 22, 2016 at 4:13 PM, 辉少 <wang502742203@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 回复:ubifs:questions about this filesystem
[not found] ` <tencent_1F5A13F32BF5625D7149E156@qq.com>
@ 2016-06-22 14:45 ` Richard Weinberger
0 siblings, 0 replies; 3+ messages in thread
From: Richard Weinberger @ 2016-06-22 14:45 UTC (permalink / raw)
To: 辉少, linux-mtd@lists.infradead.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 342 bytes --]
Am 22.06.2016 um 16:43 schrieb »ÔÉÙ:
> As for the second question, I mean if ubifs background is collecting garbage,meanwhile my embeded system is doing another thing, will GC thread affect the performance of "doing another thing"?
Please start unsing reply-all.
Sure will it as every thread on a multithreaded OS does...
Thanks,
//richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-22 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-22 14:13 ubifs:questions about this filesystem =?gb18030?B?u9TJ2Q==?=
2016-06-22 14:26 ` Richard Weinberger
[not found] ` <tencent_1F5A13F32BF5625D7149E156@qq.com>
2016-06-22 14:45 ` 回复:ubifs:questions " Richard Weinberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).