Re: [PATCH rc8-mm1] hotfix libata-scsi corruption

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hugh Dickins <hugh@...>
Cc: Andrew Morton <akpm@...>, Jeff Garzik <jeff@...>, Alan Stern <stern@...>, <linux-kernel@...>, <linux-ide@...>, linux-scsi <linux-scsi@...>
Date: Tuesday, January 22, 2008 - 7:19 pm

On Tue, 2008-01-22 at 22:59 +0000, Hugh Dickins wrote:

Oh ... never say never.  One of the things the shift we did in SCSI to
the block submission api and elimination of the single map path actually
enables you to send kernel vmalloc areas straight into the storage APIs
(which was previously absolutely forbidden) ... fortunately no-one has
yet.

However, I think you're right we could do with a check in the PIO path
to make sure each sector is physically contiguous ... unfortunately, an
easy alignment check would trip on the IDENTIFY and other kernel
commands, sigh.

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH rc8-mm1] hotfix libata-scsi corruption, Hugh Dickins, (Tue Jan 22, 1:11 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, James Bottomley, (Tue Jan 22, 1:29 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Alan Cox, (Tue Jan 22, 6:12 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Hugh Dickins, (Tue Jan 22, 6:41 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Hugh Dickins, (Tue Jan 22, 2:36 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, James Bottomley, (Tue Jan 22, 3:43 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Jeff Garzik, (Tue Jan 22, 4:32 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, James Bottomley, (Tue Jan 22, 7:00 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Hugh Dickins, (Tue Jan 22, 4:20 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, James Bottomley, (Tue Jan 22, 6:12 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Hugh Dickins, (Tue Jan 22, 6:59 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, Matt Mackall, (Tue Jan 22, 7:58 pm)
Re: [PATCH rc8-mm1] hotfix libata-scsi corruption, James Bottomley, (Tue Jan 22, 7:19 pm)