linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ubifs:questions about this filesystem
@ 2016-06-22 14:13 =?gb18030?B?u9TJ2Q==?=
  2016-06-22 14:26 ` Richard Weinberger
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* =?gb18030?B?u9i4tKO6dWJpZnM6cXVlc3Rpb25zIGFib3V0IHRoaXMgZmlsZXN5c3RlbQ==?=
@ 2016-06-22 15:26 =?gb18030?B?u9TJ2Q==?=
  2016-06-22 19:56 ` 回复:ubifs:questions about this filesystem Richard Weinberger
  0 siblings, 1 reply; 4+ messages in thread
From: =?gb18030?B?u9TJ2Q==?= @ 2016-06-22 15:26 UTC (permalink / raw)
  To: =?gb18030?B?bGludXgtbXRk?=,
	=?gb18030?B?UmljaGFyZCBXZWluYmVyZ2Vy?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1063 bytes --]

Thank you for kind reply.

1. As you said just now"there is only a background thread to do many things",  dose "many things" include both GC and synchronizing data?
2. If I write a file(1 KB) to ubifs mounted in 34MiB mtd, can i write 34,000 times or 34000/4 times(the real disk usage of a 1KB file is 4KB)£¿

Many Thanks,
Andy
---ԭʼÓʼþ---
·¢¼þÈË: "Richard Weinberger"<richard@nod.at>
·¢ËÍʱ¼ä: 2016Äê6ÔÂ22ÈÕ 22:46:07
ÊÕ¼þÈË: "linux-mtd@lists.infradead.org"<linux-mtd@lists.infradead.org>;"»ÔÉÙ"<wang502742203@qq.com>;
Ö÷Ìâ: Re: »Ø¸´£ºubifs:questions about this filesystem

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-22 19:57 UTC | newest]

Thread overview: 4+ 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
  -- strict thread matches above, loose matches on Subject: below --
2016-06-22 15:26 =?gb18030?B?u9i4tKO6dWJpZnM6cXVlc3Rpb25zIGFib3V0IHRoaXMgZmlsZXN5c3RlbQ==?= =?gb18030?B?u9TJ2Q==?=
2016-06-22 19:56 ` 回复:ubifs:questions about this filesystem 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).