[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] bugs in handling of errors for SG_IO and SCSI_IOCT L_SEND_COMMAND ioctls to block device



On Thu, 07 Jul 2005 23:19:57 -0500
Mike Christie <michaelc cs wisc edu> wrote

> > ...
> >
> > 	The bio handling for these REQ_BLOCK_PC requests shouldn't be
> > treated any
> > 	differently than the more typical REQ_CMD type block io request.
>

> what is meant by this last comment specifically?

Just trying to make a case that a device pass through read command
issued to a block device should transfer to user space only the
user requested number of bytes minus the residual from the transfer
(as is done for block device read and write requests) and not always
transfer the number of bytes requested by the user.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]