linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* UBIFS: FileSystem Background Thread
@ 2016-07-01 13:50 =?gb18030?B?u9TJ2Q==?=
  2016-07-01 14:13 ` Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: =?gb18030?B?u9TJ2Q==?= @ 2016-07-01 13:50 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: 682 bytes --]

Hi,MTD lists
I've got some questions about ubi file system background thread recently listed below:
1. If I mout ubifs again when it's already mounted, will the background thread be created again?
2. Is file written to the write-buffer then synchronized to flash media by background thread in both sync mode and async mode? 
3. When I monut ubifs in sync mode and write files to it, it will take several minutes to finish a writting operation at some point as garbage collection, at that point, other threads are blocked by ubifs backgroud thread.But in async mode, that issue never appears. How can background thread block other threads in sync mode? Doesn't context switch happen?

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

end of thread, other threads:[~2016-07-01 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 13:50 UBIFS: FileSystem Background Thread =?gb18030?B?u9TJ2Q==?=
2016-07-01 14:13 ` Richard Weinberger
     [not found]   ` <tencent_0A4CA0E45DBD0DC1086D0099@qq.com>
2016-07-01 15:03     ` 回复: " 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).