linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scsi/sr - Impossible to write CDs/DVDs simultaneously (since BKL removal ?)
@ 2011-10-30  0:05 Etienne DADA
  0 siblings, 0 replies; only message in thread
From: Etienne DADA @ 2011-10-30  0:05 UTC (permalink / raw)
  To: linux-kernel

When burning multiple CDs/DVDs in parallel with multiple SATA drives, 
you can notice that :
- the process is abnormaly slow using cdrskin or wodim (top shows lots 
of I/O wait),
- the discs are burnt one after each other using cdrecord.

A simpler way to touch the problem is running :
$ eject /dev/sr0 & eject /dev/sr1
drives ejects sequentialy, rather than simultaneously as we were used to.


I think this problem arose after the Big Kernel Lock removal.
As far as I can understand the new "sr_mutex" private mutex in 
drivers/scsi/sr.c generates a per-driver locking, where a per-device 
locking would have been far better. I also think other drivers like sg 
are impacted by the same problem.

I am absolutely unable to arrange this, and would be pleased if someone 
competent could work on this.


Please CC me when answering as I'm not subscribing to the list.

Yours,
Étienne DADA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-30  0:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-30  0:05 scsi/sr - Impossible to write CDs/DVDs simultaneously (since BKL removal ?) Etienne DADA

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).