public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* nbd: please don't spawn 16 threads when nbd is not even in use
@ 2022-11-22 11:56 Pavel Machek
  2022-11-23 20:09 ` Eric Blake
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2022-11-22 11:56 UTC (permalink / raw)
  To: kernel list, josef, linux-block, nbd

[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]

Hi!

I see this... and it looks like there are 16 workqueues before nbd is
even used. Surely there are better ways to do that?

Best regards,
								Pavel

    257 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd0-recv                                              
    260 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd1-recv                                              
    263 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd2-recv                                              
    266 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd3-recv                                              
    269 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd4-recv                                              
    272 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd5-recv                                              
    275 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd6-recv                                              
    278 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd7-recv                                              
    281 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd8-recv                                              
    284 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd9-recv                                              
    287 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd10-recv                                             
    290 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd11-recv                                             
    293 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd12-recv                                             
    296 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd13-recv                                             
    299 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd14-recv                                             
    302 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nbd15-recv                                             


-- 
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2022-11-24 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22 11:56 nbd: please don't spawn 16 threads when nbd is not even in use Pavel Machek
2022-11-23 20:09 ` Eric Blake
2022-11-23 22:01   ` Pavel Machek
2022-11-24  1:17     ` Yu Kuai
2022-11-24 10:06       ` Pavel Machek
2022-11-24 11:17         ` Yu Kuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox