[PATCH] target: allow underflow/overflow for PR OUT etc. commands

2015-07-22 Thread Spencer Baugh
From: Roland Dreier It's not necessarily a fatal error if a command with a data-out phase has a data length that differs from the transport data length (e.g. PERSISTENT RESERVE OUT might have a parameter list length in the CDB that's smaller than the FC_DL field), so allow these commands. The Wi

Re: [PATCH] target: allow underflow/overflow for PR OUT etc. commands

2015-07-23 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig (altough normal Linux style would be to add parenthesis around the logial and) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

Re: [PATCH] target: allow underflow/overflow for PR OUT etc. commands

2015-07-30 Thread Nicholas A. Bellinger
On Wed, 2015-07-22 at 15:08 -0700, Spencer Baugh wrote: > From: Roland Dreier > > It's not necessarily a fatal error if a command with a data-out phase > has a data length that differs from the transport data length (e.g. > PERSISTENT RESERVE OUT might have a parameter list length in the CDB > th