[lkml]   [1996]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Block device interface could use some work
   Date: Tue, 5 Nov 1996 15:25:39 -0800
From: "Leonard N. Zubkoff" <>

The SCSI disk driver now attempts to handle this case correctly,
calling end_request for success with the blocks that were OK, with
failure for the ones that didn't, and then retries the remainder.
It's not pretty...

Yes, and it has to violate the abstraction barrier to do so. (That's
OK, it had to violate the abstraction barrier to issue multiple SCSI
commands simultaneously.) Unfortunately, because it was done in the
SCSI layer, it means that the IDE device driver doesn't have the benefit
of the changes the SCSI community made. Perhaps that's should be a hint
that all of this work should be done in the upper layer. That way both
the IDE and SCSI drivers would be able to take advantage of it.

- Ted

 \ /
  Last update: 2005-03-22 13:38    [W:0.052 / U:1.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site