Why kernel tasks for each MTD partition?

Artem Bityutskiy dedekind1 at gmail.com
Mon May 7 13:06:56 EDT 2012


On Mon, 2012-05-07 at 18:55 +0200, Thilo Fromm wrote:
> Hello *.*,
> 
> while playing around with mtdblock and blockrom (see my other mail[1])
> I noticed that a separate kernel process is active for each "mtdblock"
> partition (e.g. ps shows "[mtdblock0]", "[mtdblock1]" kernel processes
> if you have two MTD partitions and you use mtdblock). These also exist
> for my blockrom device nodes. Since I see comparable processes for all
> storage on my Linux workstation I suppose the Linux storage stack runs
> these. Can somebody please fill me in on what they are?

I guess this is related to the general linux design - every block device
has to have an I/O queue - and I think each process represent such a
queue in this case. I am not 100% sure it is the sanest setup for
mtdblock, may be yes, may be not, needs thinking.

But in general note, mtdblock stuff needs a lot of love.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120507/99c13a0d/attachment.sig>


More information about the linux-mtd mailing list