[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <589506.10541.qm@web31809.mail.mud.yahoo.com>
Date: Tue, 23 Nov 2010 01:25:23 -0800 (PST)
From: Luben Tuikov <ltuikov@...oo.com>
To: Matthew Dharm <mdharm-kernel@...-eyed-alien.net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-usb@...r.kernel.org, Greg KH <greg@...ah.com>,
James Bottomley <James.Bottomley@...e.de>
Subject: Re: [PATCH repost 3] [SCSI] Retrieve the Caching mode page
--- On Mon, 11/22/10, Matthew Dharm <mdharm-kernel@...-eyed-alien.net> wrote:
> As long as you are not changing the command stream that the
> devices see, I
> think this is a reasonable risk to take.
No, not at all.
> What are the consequences if the device returns what appear
> to be a Caching
> Mode Page, but it is actually filled with garbage or
> otherwise inaccurate
> data?
Data corruption would be no different than when determining whether the media is write protected or determining other parameters. A similar question would be "What would the consequences be if the device misreported the media write-protect bit?" I suppose such a device would be quite broken and inoperative.
Luben
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists