Thread (5 messages) 5 messages, 2 authors, 2018-08-02

Re: [PATCH 2/2] Avoid that SCSI device removal through sysfs triggers a deadlock

From: Bart Van Assche <hidden>
Date: 2018-08-01 21:16:13
Also in: linux-scsi

Possibly related (same subject, not in this thread)

On Mon, 2018-07-30 at 11:40 -0700, Bart Van Assche wrote:
A long time ago the unfortunate decision was taken to add a self-
deletion attribute to the sysfs SCSI device directory. That decision
was unfortunate because self-deletion is really tricky. We can't drop
that attribute because widely used user space software depends on it,
namely the rescan-scsi-bus.sh script. Hence this patch that avoids
that writing into that attribute triggers a deadlock. See also commit
7973cbd9fbd9 ("[PATCH] add sysfs attributes to scan and delete
scsi_devices").
[ ... ]

During my kernel tests of today I noticed that this patch makes booting
significantly slower: boot time for a VM increases from 6s to 157s. Martin,
please drop this patch series.

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help