* Re: Workqueue change with commit id,1bd04bf6f breaks mpt3sas scsi driver
[not found] <56F350C0.5070000@gmail.com>
@ 2016-03-24 19:39 ` Tejun Heo
2016-03-25 8:32 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2016-03-24 19:39 UTC (permalink / raw)
To: nick; +Cc: jiangshanlai, linux-kernel, Thomas Gleixner
(cc'ing Thomas)
Hello,
On Wed, Mar 23, 2016 at 10:28:16PM -0400, nick wrote:
> Seems that commit id, 1bd04bf6f breaks the mpt3sas driver according to this bug report:
> https://bugzilla.kernel.org/show_bug.cgi?id=114611. Seems that the driver is fine as
> have inspection all the driver functions are wrappers around queue_delayed_work and
> according to the person's debugging this commit breaks it. However they are not sure
> if it's the driver or the timer subsystem. I am assuming it's the timer subsystem as
> the driver is just using wrapper functions around core workqueue functions with irqs
> disabled and a spin lock held.
Hmmm... 1bd04bf6f68d ("timer: Remove FIFO "guarantee"") doesn't look
like an easy change to undo and it sounds like the driver was already
(subtly) broken even before the commit given that ordered workqueues
are not affine to any CPU and timer expirations across different CPUs
aren't strictly ordered. Unfortunately, the only way forward seems to
be implementing ordering from the driver's side.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Workqueue change with commit id,1bd04bf6f breaks mpt3sas scsi driver
2016-03-24 19:39 ` Workqueue change with commit id,1bd04bf6f breaks mpt3sas scsi driver Tejun Heo
@ 2016-03-25 8:32 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2016-03-25 8:32 UTC (permalink / raw)
To: Tejun Heo; +Cc: nick, jiangshanlai, linux-kernel
On Thu, 24 Mar 2016, Tejun Heo wrote:
> On Wed, Mar 23, 2016 at 10:28:16PM -0400, nick wrote:
> > Seems that commit id, 1bd04bf6f breaks the mpt3sas driver according to this bug report:
> > https://bugzilla.kernel.org/show_bug.cgi?id=114611. Seems that the driver is fine as
> > have inspection all the driver functions are wrappers around queue_delayed_work and
> > according to the person's debugging this commit breaks it. However they are not sure
> > if it's the driver or the timer subsystem. I am assuming it's the timer subsystem as
> > the driver is just using wrapper functions around core workqueue functions with irqs
> > disabled and a spin lock held.
>
> Hmmm... 1bd04bf6f68d ("timer: Remove FIFO "guarantee"") doesn't look
> like an easy change to undo and it sounds like the driver was already
> (subtly) broken even before the commit given that ordered workqueues
> are not affine to any CPU and timer expirations across different CPUs
> aren't strictly ordered. Unfortunately, the only way forward seems to
> be implementing ordering from the driver's side.
The changelog explains in detail, that the FIFO "guarantee" did not exist for
a long time. Certainly that commit removed the last reminders of that so
called guarantee, but anything relying on FIFO ordering of the timer wheel was
broken before that commit. Just because it "worked" before that commit does
not mean it was correct.
Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-25 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <56F350C0.5070000@gmail.com>
2016-03-24 19:39 ` Workqueue change with commit id,1bd04bf6f breaks mpt3sas scsi driver Tejun Heo
2016-03-25 8:32 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®