Re: Burning multiple DVDs at one time

From: Stefan Richter
Date: Sat Mar 17 2012 - 08:49:10 EST


On Mar 17 Emmanuel Florac wrote:
> Le Sat, 17 Mar 2012 09:56:44 +0100 vous Ãcriviez:
>
> > This is likely due to serialization by a global mutex in the sr
> > driver. Have a look at thread "[PATCH] [SCSI] sr: fix multi-drive
> > performance, remove BKL replacement" from February.
> > https://lkml.org/lkml/2012/2/28/230
>
> When was this regression introduced? I have a dedicated cd burning
> machine running 2.6.35.x, and it works great with 4 drives at a time.

BKL was replaced by sr_mutex in 2.6.37-rc1.

Wakko, you could try the patch from the mentioned thread and see whether
it fixes your problem. But be aware that the patch opens possible race
conditions between processes that access the same optical drive, e.g.
applications vs. udisks-daemon. (I haven't noticed anything bad during the
period of using the patch though.)
--
Stefan Richter
-=====-===-- --== =---=
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/