On 06/07/2013 04:15 AM, Martin K. Petersen wrote:
"Bernd" == Bernd Schubert <[email protected]> writes:

max_t(unsigned long, max, SD_MAX_WS10_BLOCKS);

Bernd> Max? Not min_t()?

Brain fart. Updated patch with a few other adjustments.

I have tested this on a couple of JBODs with a mishmash of SATA and SAS
drives, including a few specimens that report MAX WRITE SAME BLOCKS.


Thanks for the update!

I'm far too long at work again, but I managed to test it now and it works fine for the ancient areca controller (ARC-1260) of this test-lab. So you may add

Tested-by: Bernd Schubert <[email protected]>

and

Reviewed-by: Bernd Schubert <[email protected]>

(although the latter probably does not count much for linux-scsi).


Cheers,
Bernd
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to