mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Nigel Cunningham <ncunningham@clear.net.nz>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: PATCH: Fixes for ide-disk.c
Date: 06 Apr 2003 22:02:46 +0100	[thread overview]
Message-ID: <1049662965.1602.34.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <1049662773.3200.16.camel@laptop-linux.cunninghams>

On Sul, 2003-04-06 at 21:59, Nigel Cunningham wrote:
> Ok. I just figured that if there are two (say) calls to suspend a
> driver, there should be two calls to resume it before it actually is
> resumed. Does the spec say anything about how multiple suspends &
> resumes should be handled?

The IDE layer assumes the power management layer doesn't generate
bogus repeated suspend requests. If it does then lots of drivers
are broken and the core code needs fixing.

If its because there are two different notifiers trying to park
the IDE disk that might make more sense.

However getting this wrong loses data so I will accept no changes to
this code until someone precisely explains what is going on so we
can be sure the fix itself is safe.


  reply	other threads:[~2003-04-06 21:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05  7:31 Nigel Cunningham
2003-04-05  9:27 ` John Bradford
2003-04-05 10:57   ` Andre Hedrick
2003-04-05 13:09     ` John Bradford
2003-04-05 16:46 ` Alan Cox
2003-04-05 19:25   ` Nigel Cunningham
2003-04-05 20:58     ` Andre Hedrick
2003-04-06 15:03     ` Alan Cox
2003-04-06 20:59       ` Nigel Cunningham
2003-04-06 21:02         ` Alan Cox [this message]
2003-04-06 21:12       ` Nigel Cunningham
2003-04-06 21:00         ` Alan Cox
2003-04-06 21:58           ` Nigel Cunningham
2003-04-10 18:38       ` Pavel Machek
2003-04-10 21:55         ` Alan Cox
2003-04-10 23:36           ` Nigel Cunningham
2003-04-13 11:17             ` Pavel Machek
2003-04-10 18:37     ` Pavel Machek
2003-04-11  3:30       ` Andre Hedrick
2003-04-05 16:46 ` Alan Cox
2003-04-05 10:32 Chuck Ebbert
2003-04-05 11:30 ` Andre Hedrick
2003-04-05 18:34 Mudama, Eric
2003-04-05 19:52 ` Andre Hedrick
2003-04-05 20:17 Mudama, Eric
2003-04-05 20:54 ` Andre Hedrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1049662965.1602.34.camel@dhcp22.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@clear.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®