From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Amit Sahrawat <amit.sahrawat83@gmail.com>,
Douglas Gilbert <dgilbert@interlog.com>,
linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
Christoph Hellwig <hch@infradead.org>
Subject: Re: Re: Re: Re: BUG in kernel: Wrong Handling of USB HDD’s in scsiglue(slave_configure) and scsi/sd(sd_read_cache_ =?windows-1252?Q?type=29
Date: Wed, 05 Oct 2011 08:17:11 -0700 [thread overview]
Message-ID: <1317827831.7238.2.camel@dabdike> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1110051014590.2289-100000@iolanthe.rowland.org>
On Wed, 2011-10-05 at 10:17 -0400, Alan Stern wrote:
> On Wed, 5 Oct 2011, Amit Sahrawat wrote:
>
> > Hi,
> >
> > In order to verify the SYNC_CACHE command being passed.
> > First I checked on the USB HDD(Seagate - Free Agent) which is gettind
> > properly identified on linux. I performed - copy of a file and then
> > did 'Safely Remove Hardware" - this resulted in SYNC_CACHE command
> > being passed - All logs are captured for this.
> >
> > Then, for the same Hard Disk - I checked for the behaviour on Windows.
> > There is no SYNC CACHE command being passed in this case.
> >
> > Again, checked for a different hard disk(Seagate) - which has cache
> > but not shown in Linux. In that case also, there is no SYNC CACHE
> > command.
> >
> > Please find the logs for the '3' cases attached.
>
> This is a little disappointing. If Windows doesn't use the SYNCHRONIZE
> CACHE command, it's quite likely that some USB drives will crash when
> they receive it.
>
> This strongly suggests that we should not change the current code.
I agree ... it means they go by the SCSI mode pages too, so we'll be no
worse than they are. Plus we don't risk upsetting the rest of the USB
device universe.
James
next prev parent reply other threads:[~2011-10-05 15:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CADDb1s0ZnHzM72sDnFmRrM=GFJtxj5JkYUSPo6GdyQ_=7L2m9A@mail.gmail.com>
[not found] ` <CADDb1s0ZnHzM72sDnFmRrM=GFJtxj5JkYUSPo6GdyQ_=7L2m9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-04 14:10 ` Re: Re: BUG in kernel: Wrong Handling of USB HDD’s in scsiglue(slave_configure) and scsi/sd(sd_read_cache_type) Alan Stern
2011-10-04 15:34 ` Amit Sahrawat
[not found] ` <CADDb1s3sPxpfNi-OD=QvVT+JWO9kUeTAmb8ZGyN0YCuBKWd4rg@mail.gmail.com>
2011-10-05 14:17 ` Re: Re: Re: BUG in kernel: Wrong Handling of USB HDD’s in scsiglue(slave_configure) and scsi/sd(sd_read_cache_ =?windows-1252?Q?type=29 Alan Stern
2011-10-05 15:17 ` James Bottomley [this message]
2011-10-05 16:59 ` Re: Re: BUG in kernel: Wrong Handling of USB HDD’s in scsiglue(slave_configure) and scsi/sd(sd_read_cache_type) Amit Sahrawat
2011-10-05 17:24 ` James Bottomley
2011-10-05 19:51 ` Amit Sahrawat
2011-10-05 20:08 ` James Bottomley
2011-10-07 5:09 ` Amit Sahrawat
2011-10-07 14:09 ` Re: Re: Re: BUG in kernel: Wrong Handling of USB HDD’s in scsiglue(slave_configure) and scsi/sd(sd_read_cache_ =?windows-1252?Q?type=29 Alan Stern
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=1317827831.7238.2.camel@dabdike \
--to=james.bottomley@hansenpartnership.com \
--cc=amit.sahrawat83@gmail.com \
--cc=dgilbert@interlog.com \
--cc=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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).