From: Oliver Neukum <oneukum-l3A5Bk7waGM@public.gmane.org>
To: Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Cc: Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Linux PM List
<linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
Linux SCSI List
<linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
hare-l3A5Bk7waGM@public.gmane.org
Subject: Re: Ejected Nook (usb mass storage) prevents suspend
Date: Fri, 02 Aug 2013 09:23:07 +0200 [thread overview]
Message-ID: <1375428187.2138.4.camel@linux-fkkt.site> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1308011149320.1534-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
On Thu, 2013-08-01 at 11:53 -0400, Alan Stern wrote:
> On Thu, 1 Aug 2013, Oliver Neukum wrote:
>
> > On Wed, 2013-07-31 at 11:13 -0400, Alan Stern wrote:
> >
> > > More importantly, if we already know that the medium is not present or
> > > has been changed since it was last used, then there's no reason to call
> > > sd_sync_cache() at all.
> >
> > Like this?
>
> Yes, I like this a lot better, except I would put the test for
> !sdkp->media_present in sd_suspend_common() -- no need to print the
But your observation that it makes no sense while no medium is present
is valid whatever be the reason for wanting to flush.
> "Synchronizing SCSI Cache" message if you're not going to go through
> with it.
>
> What do the SCSI people think?
I don't know. I would like Andy to test before I ask.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-08-02 7:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 16:54 Ejected Nook (usb mass storage) prevents suspend Andy Lutomirski
2013-07-26 17:40 ` Alan Stern
[not found] ` <CALCETrVoMc+aCNgwthdwYzx9rXh=Zqzwb5e2djwbFB8FTo4kRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-26 20:31 ` Alan Stern
2013-07-29 6:06 ` Oliver Neukum
2013-07-29 14:21 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1307291016220.1479-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-07-30 15:12 ` Oliver Neukum
[not found] ` <1375197142.14458.4.camel-B2T3B9s34ElbnMAlSieJcQ@public.gmane.org>
2013-07-30 17:00 ` Alan Stern
2013-07-30 19:26 ` Oliver Neukum
2013-07-31 11:39 ` Oliver Neukum
2013-07-31 15:13 ` Alan Stern
2013-08-01 14:12 ` Oliver Neukum
2013-08-01 15:53 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1308011149320.1534-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-08-02 7:23 ` Oliver Neukum [this message]
2013-08-02 13:54 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1308020954120.1176-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-08-02 14:11 ` Oliver Neukum
[not found] ` <1375452665.2138.17.camel-B2T3B9s34ElbnMAlSieJcQ@public.gmane.org>
2013-08-02 14:18 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1308021015200.1176-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-09-13 13:37 ` Andy Lutomirski
[not found] ` <CALCETrWQuJs_7-VoOVaZQMCdZhj2VjQCaH5NWie=h4NSAM9VSg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-13 15:19 ` Oliver Neukum
2013-07-29 6:02 ` Oliver Neukum
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=1375428187.2138.4.camel@linux-fkkt.site \
--to=oneukum-l3a5bk7wagm@public.gmane.org \
--cc=hare-l3A5Bk7waGM@public.gmane.org \
--cc=linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).