Re: [PATCH 2/3] block/sd: Fix device-imposed transfer length limits

2015-11-19 Thread Christoph Hellwig
> - blk_limits_max_hw_sectors() is no longer used and can be removed. Killing that first in a separate patch would have been a tad cleaner. Otherwise looks fine, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of

[PATCH 2/3] block/sd: Fix device-imposed transfer length limits

2015-11-13 Thread Martin K. Petersen
Commit 4f258a46346c ("sd: Fix maximum I/O size for BLOCK_PC requests") had the unfortunate side-effect of removing an implicit clamp to BLK_DEF_MAX_SECTORS for REQ_TYPE_FS requests in the block layer code. This caused problems for some SMR drives. Debugging this issue revealed a few problems with